Test Connection
Add Todo Bot use Webservice now TBD : Rework Event
This commit is contained in:
22
LaDOSE.Src/LaDOSE.Api/Controllers/TodoController.cs
Normal file
22
LaDOSE.Src/LaDOSE.Api/Controllers/TodoController.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using LaDOSE.Business.Interface;
|
||||
using LaDOSE.DTO;
|
||||
using LaDOSE.Entity;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace LaDOSE.Api.Controllers
|
||||
{
|
||||
[Authorize]
|
||||
[Route("api/[controller]")]
|
||||
[Produces("application/json")]
|
||||
public class TodoController : GenericControllerDTO<ITodoService, Todo, TodoDTO>
|
||||
{
|
||||
public TodoController(ITodoService service) : base(service)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user