public async Task <IActionResult> GetAllCategories()
        {
            var allCategories = await _hRepository.GetAllCategories();

            if (allCategories == null)
            {
                return(NotFound());
            }

            return(new OkObjectResult(allCategories));
        }