public static dataBlogger.Blog ToModelData(this objBlogger.Blog source)
 {
     return(new dataBlogger.Blog()
     {
         BlogId = source.BlogId,
         Url = source.Url,
     });
 }
示例#2
0
 public static dtoBlogger.Blog ToDto(this objBlogger.Blog source)
 {
     return(new dtoBlogger.Blog()
     {
         BlogId = source.BlogId,
         Url = source.Url,
     });
 }