public IActionResult UpdateTermCategory(int termCategoryId, [FromBody] TermCategoryContract data) { try { m_catalogValueManager.UpdateTermCategory(termCategoryId, data); return(Ok()); } catch (HttpErrorCodeException exception) { return(StatusCode((int)exception.StatusCode, exception.Message)); } }