public string UpdateBook(Book book)
        {
            int rowAffected = bookGateway.UpdateBook(book);

            if (rowAffected > 0)
            {
                return("Book Update Successfully.");
            }
            else
            {
                return("Book Update Failed, Try Again.");
            }
        }
Example #2
0
 public void UpdateBook(int id, int outsideCopy, int i)
 {
     bookGateway.UpdateBook(id, outsideCopy, i);
 }