feat(API): ProfileController initialisiert.
This commit is contained in:
parent
ae59ffe73b
commit
6fcddfc7b9
16
WorkFlow.API/Controllers/ProfileController.cs
Normal file
16
WorkFlow.API/Controllers/ProfileController.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.Profile;
|
||||
using WorkFlow.Domain.Entities;
|
||||
|
||||
namespace WorkFlow.API.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[ApiController]
|
||||
[Authorize]
|
||||
public class ProfileController(ILogger<ProfileController> logger, IProfileService service) : CRUDControllerBase<IProfileService, ProfileCreateDto, ProfileDto, ProfileUpdateDto, Profile, int>(logger, service)
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user