public void CreateNewBook(Book data)
 {
     try
     {
         context.sp_CreateBook(data.Title, data.Author, data.Description, data.PublicationDate, data.Edition, data.Subject, data.Stock);                
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public void EditBookData(int id, Book data, int stockToAssign, string choosedRadio)
 {
     try
     {
         data.Stock = IncreaseOrDecrease(data.Stock, stockToAssign, choosedRadio);
         context.sp_EditBook(id, data.Title, data.Author, data.Description, data.PublicationDate, data.Edition, data.Subject, data.Stock);                
         context.SaveChanges();                
     }
     catch (Exception ex)
     {
         throw ex;
     }            
 }