MiddleLableMapping.cs 384 B

123456789101112131415161718
  1. using AutoMapper;
  2. using GxPress.Entity.Navigations;
  3. using GxPress.Request.Navigation;
  4. using GxPress.Result.Navigation;
  5. namespace GxPress.Mappings
  6. {
  7. public class MiddleLableMapping : Profile
  8. {
  9. public MiddleLableMapping()
  10. {
  11. CreateMap<MiddleLable, MiddleLableResult>();
  12. CreateMap<MiddleLableInRequest, MiddleLable>();
  13. }
  14. }
  15. }