Example #1
0
 public Photos()
 {
     api    = new resAPI();
     config = new MapperConfiguration(cfg =>
     {
         cfg.CreateMap <resources, resourcesDTO>();
         cfg.CreateMap <atributes, atributesDTO>();
     });
     iMapper = config.CreateMapper();
 }