Пример #1
0
 public IActionResult DeleteShip(string id)
 {
     model = new ShipModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     model.DeleteShip(id);
     return(RedirectToAction("Index"));
 }