public bool AddBookBLL(int id, string bname, string bauthor, int copies, string status) { bool IsBookValidated = false; try { libraraDal.AddBookDAL(id, bname, bauthor, copies, status); IsBookValidated = true; } catch { } return(IsBookValidated); }
//To Add a Book public bool AddBookBLL(int id, string booktitle, string author, int copies, string status) { bool IsBookAdded = false; try { dAL.AddBookDAL(id, booktitle, author, copies, status); return(IsBookAdded = true); } catch { } return(IsBookAdded); }