示例#1
0
 public static Article ToEntity(this ArticleModel model)
 {
     return(model.MapTo <ArticleModel, Article>());
 }
示例#2
0
 public static Article ToEntity(this ArticleModel model, Article destination)
 {
     return(model.MapTo(destination));
 }