public async Task <IActionResult> Update(UpdateCategoryDto updateCategoryDto)
        {
            var updateCategoryViewModel = CustomMapper.GetUpdateCategoryViewModel(updateCategoryDto);
            var result = await _categoryService.Update(updateCategoryViewModel);

            if (result.IsValid)
            {
                return(Ok());
            }

            return(BadRequest(result.Errors));
        }