CimProfile.cs 435 B

12345678910111213141516171819
  1. using AutoMapper;
  2. using ProductionLineMonitor.Core.Dtos;
  3. using ProductionLineMonitor.Core.Models;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Text;
  7. namespace ProductionLineMonitor.Core.Profiles
  8. {
  9. public class CimProfile : Profile
  10. {
  11. public CimProfile()
  12. {
  13. CreateMap<CimDto, Cim>();
  14. CreateMap<Cim, CimDto>();
  15. CreateMap<Cim, CimListDto>();
  16. }
  17. }
  18. }