public static List <clsBook> AddList(clsBook objBook) { int maxId = clsBook.GetMaxId(); objBook.bookId = maxId; clsBookTable.lstBook.Add(objBook); return(clsBookTable.lstBook); }
internal static bool RemoveBookById(clsBook bookToRemove) { return(clsBookTable.lstBook.Remove(bookToRemove)); }