From 9422f7a81c0b158fd6d9c5f12ffdce12d796c969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Vondr=C3=A1=C5=A1ek?= Date: Tue, 7 Jul 2015 15:53:59 +0200 Subject: [PATCH] Removed two obsolete TODO comments. Relates to #27 --- .../Web/Areas/Security/Controllers/PositionsController.cs | 2 +- .../Web/Areas/Security/Controllers/RolesController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)