mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 05:22:57 +01:00
Rename controller
This commit is contained in:
parent
eed385253c
commit
7df97a6674
@ -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;
|
Loading…
Reference in New Issue
Block a user