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;