Exemple #1
0
 public IActionResult ManageRaceProperties(string id)
 {
     model = new RaceModel(HttpContext.Session.GetString("dbusername"), HttpContext.Session.GetString("dbpassword"));
     ViewBag.HasProperties    = model.GetRaceHasProperties(id);
     ViewBag.NotHasProperties = model.GetRaceNotHasProperties(id);
     ViewBag.Racekey          = id;
     return(View());
 }