From 7df97a66746521022cf8bd5d0dfcea03dd5ac706 Mon Sep 17 00:00:00 2001 From: Biarity Date: Sat, 27 Jan 2018 17:59:34 +1000 Subject: [PATCH] Rename controller --- .../Controllers/{TestController.cs => PostsController.cs} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename SieveTests/Controllers/{TestController.cs => PostsController.cs} (91%) diff --git a/SieveTests/Controllers/TestController.cs b/SieveTests/Controllers/PostsController.cs similarity index 91% rename from SieveTests/Controllers/TestController.cs rename to SieveTests/Controllers/PostsController.cs index 798fa5f..9a2806a 100644 --- a/SieveTests/Controllers/TestController.cs +++ b/SieveTests/Controllers/PostsController.cs @@ -11,12 +11,12 @@ using SieveTests.Entities; namespace SieveTests.Controllers { [Route("api/[controller]/[action]")] - public class TestController : Controller + public class PostsController : Controller { private ISieveProcessor _sieveProcessor; private ApplicationDbContext _dbContext; - public TestController(ISieveProcessor sieveProcessor, + public PostsController(ISieveProcessor sieveProcessor, ApplicationDbContext dbContext) { _sieveProcessor = sieveProcessor;