Rename controller

This commit is contained in:
Biarity 2018-01-27 17:59:34 +10:00
parent eed385253c
commit 7df97a6674

View File

@ -11,12 +11,12 @@ using SieveTests.Entities;
namespace SieveTests.Controllers namespace SieveTests.Controllers
{ {
[Route("api/[controller]/[action]")] [Route("api/[controller]/[action]")]
public class TestController : Controller public class PostsController : Controller
{ {
private ISieveProcessor<Post> _sieveProcessor; private ISieveProcessor<Post> _sieveProcessor;
private ApplicationDbContext _dbContext; private ApplicationDbContext _dbContext;
public TestController(ISieveProcessor<Post> sieveProcessor, public PostsController(ISieveProcessor<Post> sieveProcessor,
ApplicationDbContext dbContext) ApplicationDbContext dbContext)
{ {
_sieveProcessor = sieveProcessor; _sieveProcessor = sieveProcessor;