示例#1
0
 public ActionResult ComputerSetup(int raceid)
 {
     var race = RaceModel.GetById(raceid);
     var startRace = new StartRaceViewModel(raceid);
     startRace.EvetntId = race.EventId;
     return View("ComputerSetup", startRace);
 }
示例#2
0
 public ActionResult DualPcSetup(int raceid)
 {
     var startRace = new StartRaceViewModel(raceid);
     ViewBag.RaceId = raceid;
     return View("DualPcSetup", startRace);
 }