- using AutoMapper;
- using Diligent.WebAPI.Data.Entities;
- using Diligent.WebAPI.Host.DTOs.Customer;
-
- namespace Diligent.WebAPI.Host.Mapper
- {
- public class CustomerMappingProfile : Profile
- {
- public CustomerMappingProfile()
- {
- CreateMap<Customer, CustomerReadDTO>();
- }
- }
- }
|