public IActionResult Update(string id, CatalogFunctionModel catModel) { if (ModelState.IsValid) { var updateCat = _catalogFunctionService.Update(id, base.UserId, catModel); } return(Ok()); }