public IActionResult Create(CatalogFunctionModel catModel) { if (ModelState.IsValid) { var newCat = _catalogFunctionService.Insert(base.UserId, catModel); } return(Ok()); }