public LibraryManagement.DAL.Entity.Book GetItemById(string Id)
 {
     return(BookStaticData.GetBooks().FirstOrDefault(bk => bk.Id.ToUpper() == Id.ToUpper()));
 }
 public List <LibraryManagement.DAL.Entity.Book> GetItems()
 {
     return(BookStaticData.GetBooks());
 }
        public bool Delete(string bookId)
        {
            var book = BookStaticData.GetBooks().FirstOrDefault(bk => bk.Id.ToUpper() == bookId.ToUpper());

            return(BookStaticData.Delete(book));
        }