예제 #1
0
        public ActionResult <SafeguardDevOpsConnection> GetSafeguardLogon([FromServices] ISafeguardLogic safeguard)
        {
            var safeguardConnection = safeguard.GetSafeguardConnection();

            if (safeguardConnection == null)
            {
                return(NotFound("No Safeguard has not been configured"));
            }

            return(Ok(safeguardConnection));
        }