public IActionResult DeletePropertyConnection(string alienkey, string propertykey) { model = new AlienModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword")); model.DisconnectProperty(alienkey, propertykey); return(RedirectToAction("ManageAlienProperties", new { @id = alienkey })); }