mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-21 21:12:50 +01:00
Rename controller
This commit is contained in:
parent
eed385253c
commit
7df97a6674
@ -11,12 +11,12 @@ using SieveTests.Entities;
|
||||
namespace SieveTests.Controllers
|
||||
{
|
||||
[Route("api/[controller]/[action]")]
|
||||
public class TestController : Controller
|
||||
public class PostsController : Controller
|
||||
{
|
||||
private ISieveProcessor<Post> _sieveProcessor;
|
||||
private ApplicationDbContext _dbContext;
|
||||
|
||||
public TestController(ISieveProcessor<Post> sieveProcessor,
|
||||
public PostsController(ISieveProcessor<Post> sieveProcessor,
|
||||
ApplicationDbContext dbContext)
|
||||
{
|
||||
_sieveProcessor = sieveProcessor;
|
Loading…
Reference in New Issue
Block a user