Commit du reste des profils
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user