public async Task <ActionResult> Edit(string tenantSlug, int categoryId, ProductCategoryModel model) { var user = await _userService.GetUserAsync(User); await _productCategoryService.EditAsync(tenantSlug, categoryId, model, user); return(NoContent()); }