Example #1
0
 public IActionResult DeleteRace(string id)
 {
     model = new RaceModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     model.DeleteRace(id);
     return(RedirectToAction("Index"));
 }