Files
Knots/Knots/Profiles/MessageProfile.cs
T
2026-05-05 11:28:30 +02:00

16 lines
348 B
C#

using AutoMapper;
using Knots.DTO.Discussion;
using Knots.DTO.Message;
using Knots.Models;
namespace Knots.Profiles;
public class MessageProfile : Profile
{
public MessageProfile()
{
CreateMap<Message, GetMessageDetailsDto>();
CreateMap<Message, CreateMessageDto>();
CreateMap<CreateMessageDto, Message>();
}
}