19 lines
582 B
C#
19 lines
582 B
C#
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();
|
|
}
|
|
} |