public IActionResult AddGenreToBook(int bookId, int genreId) { if (_library.AddGenreToBook(bookId, genreId)) { return(Ok("Added book genre")); } return(NotFound("No book or/and genre with such ids found!")); }