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)); }