コード例 #1
0
ファイル: AlienController.cs プロジェクト: a18antsv/Alien.NET
 public IActionResult AddShipConnection(string alienkey, string shipkey)
 {
     model = new AlienModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     model.ConnectShip(alienkey, shipkey);
     return(RedirectToAction("ManageAlienConnections", new { @id = alienkey }));
 }