public async Task <IActionResult> ReturnCategoryAsync() { var result = await _getCategoryQuery.ExecuteAsync(); return(new ObjectResult(result)); }