Add project files.
This commit is contained in:
16
ConstructorAppApi/Mapping/CompanyInfoMapping.cs
Normal file
16
ConstructorAppApi/Mapping/CompanyInfoMapping.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using AutoMapper;
|
||||
using ConstructorApp.DtoLayer.CompanyInfoDto;
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorAppApi.Mapping
|
||||
{
|
||||
public class CompanyInfoMapping : Profile
|
||||
{
|
||||
public CompanyInfoMapping()
|
||||
{
|
||||
CreateMap<CompanyInfo, ResultCompanyInfoDto>().ReverseMap();
|
||||
CreateMap<CompanyInfo, GetCompanyInfoDto>().ReverseMap();
|
||||
CreateMap<CompanyInfo, UpdateCompanyInfoDto>().ReverseMap();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user