Commit du reste des profils

This commit is contained in:
oistig
2026-03-26 15:23:53 +01:00
parent 1c1f9b2fcc
commit df6e559f00
9 changed files with 56 additions and 18 deletions

View File

@@ -1,10 +1,16 @@
using AutoMapper;
using Knots.DTO.Discussion;
using Knots.DTO.Key;
using Knots.Models;
namespace Knots.Profiles;
public class KeyProfile
public class KeyProfile : Profile
{
public KeyProfile()
{
CreateMap<Key, GetKeyDetailsDto>();
CreateMap<Key, CreateKeyDto>();
CreateMap<CreateKeyDto, Key>();
}
}