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