chatbot/Chatbot.Api.Application/Mappings/MappingProfile.cs

18 lines
489 B
C#
Raw Normal View History

2020-06-06 18:29:20 +03:00
using AutoMapper;
2020-06-07 04:10:46 +03:00
using Chatbot.Api.Application.Commands;
2020-06-06 18:29:20 +03:00
using Chatbot.Api.Application.Queries;
using Chatbot.Api.Domain.Entities;
namespace Chatbot.Api.Application.Mappings
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<Bot, GetBots.Model>();
2020-06-06 19:21:40 +03:00
CreateMap<BotSession, GetSession.Model>();
2020-06-06 23:18:41 +03:00
CreateMap<Chat, GetChat.Model>();
2020-06-07 04:10:46 +03:00
CreateMap<SaveChatMessage, ChatMessage>();
2020-06-06 18:29:20 +03:00
}
}
}