Exemple #1
0
 public void AddCover(ServiceBook book, ServiceCover cover)
 {
     unit.Books.AddCover(book.ToDalBook(), cover.ToDalCover());
     unit.Save();
 }
Exemple #2
0
 public void RemoveCover(ServiceCover cover)
 {
     unit.Books.DeleteCover(cover.ToDalCover());
     unit.Save();
 }