Esempio n. 1
0
        public ActionResult RemoveWebServerCertificate([FromServices] ISafeguardLogic safeguard, [FromQuery] bool restart = true)
        {
            safeguard.RemoveWebServerCertificate();

            if (restart)
            {
                safeguard.RestartService();
            }

            return(NoContent());
        }