public IHttpActionResult Disable(Guid traceConfigurationId) { var disabled = _traceRepository.Disable(traceConfigurationId); if (disabled) { return(Ok()); } return(BadRequest()); }