public IActionResult AddIncidentConnection(string alienkey, string incidentkey) { model = new AlienModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword")); model.ConnectIncident(alienkey, incidentkey); return(RedirectToAction("ManageAlienConnections", new { @id = alienkey })); }