public IActionResult UpdateTerm(int termId, [FromBody] TermContract data) { try { m_termManager.UpdateTerm(termId, data); return(Ok()); } catch (HttpErrorCodeException exception) { return(StatusCode((int)exception.StatusCode, exception.Message)); } }