first commit
This commit is contained in:
19
Complex.EndPoint/Utility/MappingProfile.cs
Normal file
19
Complex.EndPoint/Utility/MappingProfile.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using AutoMapper;
|
||||
using Complex.Application.Basic;
|
||||
using Complex.Application.Complex;
|
||||
using Complex.Domain.Entities;
|
||||
using Complex.EndPoint.ViewModel;
|
||||
|
||||
namespace Complex.Mapping;
|
||||
|
||||
public partial class EndPointMappingProfile : Profile
|
||||
{
|
||||
public EndPointMappingProfile()
|
||||
{
|
||||
//CreateMap<ComplexEntity, ComplexDto>().ReverseMap();
|
||||
//CreateMap<Unit, UnitDto>().ReverseMap();
|
||||
//CreateMap<UnitStateDto, UnitState>().ReverseMap();
|
||||
CreateMap<ComplexViewModel, ComplexDto>().ReverseMap();
|
||||
CreateMap<UnitViewModel, UnitDto>().ReverseMap();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user