Exemplo n.º 1
0
        public ActionResult DeleteSafeguardConfiguration([FromServices] ISafeguardLogic safeguard, [FromQuery] string confirm)
        {
            if (confirm == null || !confirm.Equals("yes", StringComparison.InvariantCultureIgnoreCase))
            {
                return(BadRequest());
            }

            safeguard.DeleteDevOpsConfiguration();

            return(NoContent());
        }