public static dataBlogger.Post ToModelData(this objBlogger.Post source)
 {
     return(new dataBlogger.Post()
     {
         BlogId = source.BlogId,
         Content = source.Content,
         PostId = source.PostId,
         Title = source.Title,
     });
 }
Beispiel #2
0
 public static dtoBlogger.Post ToDto(this objBlogger.Post source)
 {
     return(new dtoBlogger.Post()
     {
         BlogId = source.BlogId,
         Content = source.Content,
         PostId = source.PostId,
         Title = source.Title,
     });
 }