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