18 lines
554 B
C#
18 lines
554 B
C#
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();
|
|
}
|
|
}
|
|
}
|