Beispiel #1
0
 public IActionResult ManageShipProperties(string id)
 {
     model = new ShipModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     ViewBag.HasProperties    = model.GetShipHasProperties(id);
     ViewBag.NotHasProperties = model.GetShipNotHasProperties(id);
     ViewBag.Shipkey          = id;
     return(View());
 }