public IActionResult GetCategories()
        {
            IEnumerable <CategoryReqNineDTO> dtos = _unitOfWork.Categories.GetCategoriesAsDTOs();

            if (dtos == null)
            {
                return(null);
            }
            IEnumerable <CategoryViewModel> vms = CategoryMapper.MapCategoryReqNineDTOsToCategoryViewModels(dtos, Url.Link(nameof(GetCategory), ""));

            if (vms == null)
            {
                return(null);
            }
            return(Ok(vms));
        }