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