示例#1
0
 public IActionResult DeletePropertyConnection(string shipkey, string propertykey)
 {
     model = new ShipModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     model.DisconnectProperty(shipkey, propertykey);
     return(RedirectToAction("ManageShipProperties", new { @id = shipkey }));
 }