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