Пример #1
0
 public static Collection ToEntity(this CollectionDto model, Collection destination)
 {
     return(model.MapTo(destination));
 }
Пример #2
0
 public static Collection ToEntity(this CollectionDto model)
 {
     return(model.MapTo <CollectionDto, Collection>());
 }