常用方法
常用方法
常用方法
常用方法
public IActionResult AddShip(string seatnumber, string planetkey) { model = new ShipModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword")); model.AddShip(seatnumber, planetkey); return(RedirectToAction("Index")); }