public static dataBlogger.Post ToModelData(this dtoBlogger.Post source) { return(new dataBlogger.Post() { BlogId = source.BlogId, Content = source.Content, PostId = source.PostId, Title = source.Title, }); }
public static objBlogger.Post ToModelObj(this dtoBlogger.Post source) { return(new objBlogger.Post() { BlogId = source.BlogId, Content = source.Content, PostId = source.PostId, Title = source.Title, }); }