public IActionResult UpdateResponsibleType(int responsibleTypeId, [FromBody] ResponsibleTypeContract data) { try { m_catalogValueManager.UpdateResponsibleType(responsibleTypeId, data); return(Ok()); } catch (HttpErrorCodeException exception) { return(StatusCode((int)exception.StatusCode, exception.Message)); } }