示例#1
0
 // GET: Admin/Stations
 public ActionResult Index()
 {
     return(View(stationRepositorycs.GetAllStations()));
 }
 // GET: Reservations/Create
 public ActionResult Create()
 {
     ViewBag.HourID    = new SelectList(hourReservation.GetAllHours(), "HourID", "SelectHour");
     ViewBag.StationID = new SelectList(stationRepositorycs.GetAllStations(), "StationID", "StationName");
     return(View());
 }