|
|
@ -13,7 +13,6 @@ public partial class BasedataApplicationAutoMapperProfile : Profile |
|
|
|
private void TransactionTypeAutoMapperProfile() |
|
|
|
{ |
|
|
|
CreateMap<TransactionType, TransactionTypeDTO>() |
|
|
|
.IgnoreAuditedObjectProperties() |
|
|
|
.ForMember(x => x.InLocationTypes, y => y.MapFrom(d => d.InLocationTypes.GetEnumList<EnumLocationType>(","))) |
|
|
|
.ForMember(x => x.OutLocationTypes, y => y.MapFrom(d => d.OutLocationTypes.GetEnumList<EnumLocationType>(","))) |
|
|
|
.ForMember(x => x.InLocationAreas, y => y.MapFrom(d => d.InLocationAreas.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList())) |
|
|
|