public async Task <ActionResult> GetBookCategoryById(Guid bookCategoryId) { var bookCategory = await _bookCategoryService.GetByIdAsync(bookCategoryId); if (bookCategory == null) { return(NotFound()); } return(Ok(bookCategory)); }