feat(API): StateController initialisiert.
This commit is contained in:
parent
fa26fad600
commit
c606fe4480
16
WorkFlow.API/Controllers/StateController.cs
Normal file
16
WorkFlow.API/Controllers/StateController.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using DigitalData.Core.API;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using WorkFlow.Application.Contracts;
|
||||||
|
using WorkFlow.Application.DTO.State;
|
||||||
|
using WorkFlow.Domain.Entities;
|
||||||
|
|
||||||
|
namespace WorkFlow.API.Controllers
|
||||||
|
{
|
||||||
|
[Route("api/[controller]")]
|
||||||
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
|
public class StateController(ILogger<StateController> logger, IStateService service) : CRUDControllerBase<IStateService, StateCreateDto, StateDto, StateUpdateDto, State, int>(logger, service)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user