Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using AutoMapper;
- namespace AutomapperConfiguration.AutoMapperConfig.Profiles
- {
- public class CarProfile : Profile
- {
- public CarProfile()
- {
- CreateMap<Car, DisplayedCarDto>();
- CreateMap<Car, CarPerformanceDto>().ReverseMap();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement