Add project files.
This commit is contained in:
17
ConstructorAppApi/Mapping/TestimonialMapping.cs
Normal file
17
ConstructorAppApi/Mapping/TestimonialMapping.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using AutoMapper;
|
||||
using ConstructorApp.DtoLayer.TestimonialDto;
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorAppApi.Mapping
|
||||
{
|
||||
public class TestimonialMapping : Profile
|
||||
{
|
||||
public TestimonialMapping()
|
||||
{
|
||||
CreateMap<Testimonial, ResultTestimonialDto>().ReverseMap();
|
||||
CreateMap<Testimonial, GetTestimonialDto>().ReverseMap();
|
||||
CreateMap<Testimonial, CreateTestimonialDto>().ReverseMap();
|
||||
CreateMap<Testimonial, UpdateTestimonialDto>().ReverseMap();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user