diff --git a/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/PositionsController.cs b/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/PositionsController.cs index 16e9254..3cf4f02 100644 --- a/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/PositionsController.cs +++ b/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/PositionsController.cs @@ -63,7 +63,7 @@ public virtual ActionResult Edit(short id) return View(position); } } - // TODO: T4 template for Actions + [HttpPost] [ValidateAntiForgeryToken] public virtual ActionResult Edit(short id, FormCollection form) diff --git a/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/RolesController.cs b/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/RolesController.cs index 253e81d..fa3e25d 100644 --- a/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/RolesController.cs +++ b/src/Server/DeploymentFramework/Web/Areas/Security/Controllers/RolesController.cs @@ -64,7 +64,7 @@ public virtual ActionResult Edit(short id) return View(role); } } - // TODO: T4 template for Actions + [HttpPost] [ValidateAntiForgeryToken] public virtual ActionResult Edit(short id, FormCollection form)