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
+8 -2
View File
@@ -1,10 +1,16 @@
using AutoMapper;
using Knots.DTO.Discussion;
using Knots.DTO.Message;
using Knots.Models;
namespace Knots.Profiles;
public class MessageProfile
public class MessageProfile : Profile
{
MessageProfile()
{
CreateMap<Message, GetMessageDetailsDto>();
CreateMap<Message, CreateMessageDto>();
CreateMap<CreateMessageDto, Message>();
}
}