2020-06-06 18:29:20 +03:00
|
|
|
|
using AutoMapper;
|
|
|
|
|
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 18:29:20 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|