using AutoMapper; using xAiApi.AI.Models.Entities; using xAiModels.Models; namespace xAiApi.AI.Mppings { public class MappingProfiles : Profile { public MappingProfiles() { // #region Entity to Dto ... // CreateMap() .ForMember( x => x.Owner, opt => opt.MapFrom() ); // CreateMap() .ForMember( x => x.Owner, opt => opt.MapFrom() ); // CreateMap() .ForMember( x => x.Owner, opt => opt.MapFrom() ); #endregion // #region Dto to Entity ... CreateMap(); CreateMap(); CreateMap(); #endregion } } }