using AutoMapper; using Znyc.Recruitment.Admin.Security.Entitys; namespace Znyc.Recruitment.Admin.Security.Dtos { /// /// public class SecurityProfile : Profile { /// /// / /// public SecurityProfile() { CreateMap(); CreateMap(); CreateMap(); CreateMap() .ForMember(s => s.label, s => s.MapFrom(o => o.FullName)) .ForMember(s => s.value, s => s.MapFrom(o => o.Id)); CreateMap() .ForMember(e => e.text, s => s.MapFrom(o => o.FullName)) .ForMember(e => e.Id, s => s.MapFrom(o => o.Id)); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap() .ForMember(s => s.Id, s => s.MapFrom(o => o.Id)) .ForMember(s => s.FullName, s => s.MapFrom(o => o.FullName)); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap().ReverseMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); } } }