Ejemplo n.º 1
0
        public ActionResult <SafeguardDevOpsConnection> SetSafeguard([FromServices] ISafeguardLogic safeguard,
                                                                     [FromBody] SafeguardData safeguardData)
        {
            var token     = WellKnownData.GetSppToken(HttpContext);
            var appliance = safeguard.SetSafeguardData(token, safeguardData);

            return(Ok(appliance));
        }