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