using AutoMapper; using Liber_Incantamentum.Application.DTOs.Spell; using Liber_Incantamentum.Domain.Entities; using Liber_Incantamentum.Domain.Filter; namespace Liber_Incantamentum.Application.Services.Mappings { public class SpellMappingProfile : Profile { public SpellMappingProfile() { CreateMap() .ForMember(x => x.Id, x => x.Ignore()) .ReverseMap(); CreateMap() .ForMember(x => x.Id, x => x.Ignore()) .ReverseMap(); CreateMap() .ReverseMap(); CreateMap() .ForMember(x => x.Id, x => x.Ignore()) .ReverseMap(); } } }