Add project files.
This commit is contained in:
17
ConstructorAppApi/Mapping/ContactUsMapping.cs
Normal file
17
ConstructorAppApi/Mapping/ContactUsMapping.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using AutoMapper;
|
||||
using ConstructorApp.DtoLayer.ContactUsDto;
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorAppApi.Mapping
|
||||
{
|
||||
public class ContactUsMapping : Profile
|
||||
{
|
||||
public ContactUsMapping()
|
||||
{
|
||||
CreateMap<ContactUs, ResultContactUsDto>().ReverseMap();
|
||||
CreateMap<ContactUs, GetContactUsDto>().ReverseMap();
|
||||
CreateMap<ContactUs, CreateContactUsDto>().ReverseMap();
|
||||
CreateMap<ContactUs, UpdateContactUsDto>().ReverseMap();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user