//GET Operation
 public Book GetAbook(string id)
 {
     return(Repository.GetBookList().FirstOrDefault(b => b.BookNo.Equals(Convert.ToInt32(id))));
 }
 //GET Operation
 public List <Book> GetAllBooks()
 {
     return(Repository.GetBookList());
 }