public async Task <IActionResult> OnPostAddAmount(int amountValue) { await bookFacade.UpdateAmount(BookDetail.Id, amountValue); logger.LogInformation("Book amount updated"); return(RedirectToPage("/Books")); }