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