using AutoMapper; using Liber_Incantamentum.Application.DTOs.Mage; using Liber_Incantamentum.Domain.Entities; using Liber_Incantamentum.Domain.Filter; namespace Liber_Incantamentum.Application.Services.Mappings { public class MageMappingProfile : Profile { public MageMappingProfile() { CreateMap() .ForMember(dest => dest.Id, opt => opt.Ignore()) .ForMember(dest => dest.Spells, opt => opt.Ignore()) .ReverseMap(); CreateMap() .ForMember(dest => dest.Id, opt => opt.Ignore()) .ReverseMap(); CreateMap() .ReverseMap(); CreateMap() .ForMember(dest => dest.Id, opt => opt.Ignore()) .ReverseMap(); } } }