Files
Hushian/Hushian.Application/MappingProfile.cs

26 lines
657 B
C#
Raw Normal View History

2025-07-03 16:05:44 +03:30
using AutoMapper;
using Common.Dtos.Company;
2025-07-05 14:17:54 +03:30
using Common.Dtos.Exper;
using Common.Dtos.Group;
2025-08-16 01:20:42 +03:30
using Common.Dtos.Prompt;
2025-07-03 16:05:44 +03:30
using Hushian.Domain.Entites;
namespace Hushian.Application
{
public class MappingProfile : Profile
{
public MappingProfile(/*IUserService userService*/)
{
2025-07-05 14:17:54 +03:30
CreateMap<Company,ReadANDUpdate_CompanyDto>();
CreateMap<Exper, Read_ExperDto>().ReverseMap();
CreateMap<ADD_GroupDto, Group>();
CreateMap<Group, Read_GroupDto>();
2025-08-16 01:20:42 +03:30
CreateMap<ADD_PromptDto, Prompt>();
CreateMap<Prompt, ReadANDUpdate_PromptDto>().ReverseMap();
2025-07-05 14:17:54 +03:30
}
2025-07-03 16:05:44 +03:30
}
}