Esempio n. 1
0
 public IActionResult DeletePropertyConnection(string racekey, string propertykey)
 {
     model = new RaceModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     model.DisconnectProperty(racekey, propertykey);
     return(RedirectToAction("ManageRaceProperties", new { @id = racekey }));
 }