Files
Hushian/Hushian.Application/MappingProfile.cs
mmrbnjd 86804a57f1 ...
2025-08-16 01:20:42 +03:30

26 lines
657 B
C#

using AutoMapper;
using Common.Dtos.Company;
using Common.Dtos.Exper;
using Common.Dtos.Group;
using Common.Dtos.Prompt;
using Hushian.Domain.Entites;
namespace Hushian.Application
{
public class MappingProfile : Profile
{
public MappingProfile(/*IUserService userService*/)
{
CreateMap<Company,ReadANDUpdate_CompanyDto>();
CreateMap<Exper, Read_ExperDto>().ReverseMap();
CreateMap<ADD_GroupDto, Group>();
CreateMap<Group, Read_GroupDto>();
CreateMap<ADD_PromptDto, Prompt>();
CreateMap<Prompt, ReadANDUpdate_PromptDto>().ReverseMap();
}
}
}