public static void UpdateBook(Book book)
 {
     DataLayer.Book dbBook= new DataLayer.Book();
     dbBook.Name = book.Name;
     dbBook.Author = book.Author;
     dbBook.Quantity = book.Quantity;
     DataLayer.BookDbOperation.UpdateBook(dbBook);
 }
 public static void Add(Book book)
 {
     DataLayer.Book dbBook = new DataLayer.Book();
     dbBook.Name = book.Name;
     dbBook.Author = book.Author;
     dbBook.Quantity = book.Quantity;
     BookDbOperation.Add(dbBook);
 }