Add project files.
This commit is contained in:
17
ConstructorAppApi/Mapping/ProjectGalleryMapping.cs
Normal file
17
ConstructorAppApi/Mapping/ProjectGalleryMapping.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using AutoMapper;
|
||||
using ConstructorApp.DtoLayer.ProjectGalleryDto;
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorAppApi.Mapping
|
||||
{
|
||||
public class ProjectGalleryMapping : Profile
|
||||
{
|
||||
public ProjectGalleryMapping()
|
||||
{
|
||||
CreateMap<ProjectGallery, ResultProjectGalleryDto>().ReverseMap();
|
||||
CreateMap<ProjectGallery, GetProjectGalleryDto>().ReverseMap();
|
||||
CreateMap<ProjectGallery, CreateProjectGalleryDto>().ReverseMap();
|
||||
CreateMap<ProjectGallery, UpdateProjectGalleryDto>().ReverseMap();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user