public IActionResult OnGet(string isbn) { Book book = repo.GetBook(isbn); ChartService.Add(book); OrderedBooks = ChartService.GetOrderedBooks(); return(Page()); }
public IActionResult OnGet(string isbn) { Book book = repo.GetBook(isbn); ChartService.Add(book); OrderedBooks = ChartService.GetOrderedBooks(); return(Page()); }