AutoMapperConfig.cs 467 B

1234567891011121314151617181920212223
  1. using AutoMapper;
  2. using IMCS.CCS.Dto;
  3. using IMCS.CCS.Entitys;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace IMCS.CCS.Config
  10. {
  11. public class AutoMapperConfig : Profile
  12. {
  13. public AutoMapperConfig()
  14. {
  15. CreateMap<Tasks, TasksProjectDto>();
  16. CreateMap<Tasks, Tasks>();
  17. CreateMap<Project, Project>();
  18. }
  19. }
  20. }