public bool UpdateBookBLL(int id, string bname, string bauthor, int copies, string status) { bool IsBookValidated = false; try { libraraDal.UpdateBookDAL(id, bname, bauthor, copies, status); IsBookValidated = true; } catch { } return(IsBookValidated); }
//To Update a Book public bool UpdateBookBLL(int bid, string bbooktitle, string bauthor, int bcopies, string bstatus) { bool IsBookUpdated = false; try { dAL.UpdateBookDAL(bid, bbooktitle, bauthor, bcopies, bstatus); return(IsBookUpdated = true); } catch { } return(IsBookUpdated); }