Beispiel #1
0
 public void UpdateBlogPicture(BlogPicture blogPicture)
 {
     _blogPictureRepository.Update(blogPicture);
 }
 public static BlogPicture ToEntity(this BlogPictureModel model, BlogPicture destination)
 {
     return(model.MapTo(destination));
 }
Beispiel #3
0
 public void InsertBlogPicture(BlogPicture blogPicture)
 {
     _blogPictureRepository.Insert(blogPicture);
 }
 public static BlogPictureModel ToModel(this BlogPicture entity)
 {
     return(entity.MapTo <BlogPicture, BlogPictureModel>());
 }