mirror of
https://dev.azure.com/tstanciu94/Chatbot/_git/Chatbot
synced 2025-06-21 20:48:22 +03:00
18 lines
489 B
C#
18 lines
489 B
C#
using AutoMapper;
|
|
using Chatbot.Api.Application.Commands;
|
|
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>();
|
|
CreateMap<BotSession, GetSession.Model>();
|
|
CreateMap<Chat, GetChat.Model>();
|
|
CreateMap<SaveChatMessage, ChatMessage>();
|
|
}
|
|
}
|
|
} |