示例#1
0
        public IHttpActionResult Disable(Guid traceConfigurationId)
        {
            var disabled = _traceRepository.Disable(traceConfigurationId);

            if (disabled)
            {
                return(Ok());
            }

            return(BadRequest());
        }