Files
constructdemo/ConstructorAppApi/Mapping/ProjectGalleryMapping.cs
2025-05-01 15:18:30 +03:00

18 lines
587 B
C#

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();
}
}
}