Ejemplo n.º 1
0
 public IActionResult DeleteShipConnection(string alienkey, string shipkey)
 {
     model = new AlienModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     model.DisconnectShip(alienkey, shipkey);
     return(RedirectToAction("ManageAlienConnections", new { @id = alienkey }));
 }