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