public async Task <IActionResult> Edit(int id, CategoryUpdateModel categoryUpdateModel)
        {
            TempData["active"] = "category";
            if (id != categoryUpdateModel.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                await _categoryApiService.CategoryUpdate(categoryUpdateModel);

                return(RedirectToAction(nameof(Index)));
            }
            return(View(categoryUpdateModel));
        }