public async Task <IActionResult> Edit(int bookId, [FromBody] Book book) { await booksRepository.EditAsync(book); return(NoContent()); }