Esempio n. 1
0
 public static Homework ToEntity(this HomeworkModel model, Homework destination)
 {
     return(model.MapTo(destination));
 }
Esempio n. 2
0
 public static Homework ToEntity(this HomeworkModel model)
 {
     return(model.MapTo <HomeworkModel, Homework>());
 }