Ejemplo n.º 1
0
        //Q2 >  This ActionResult returna partial View with Program Names per selected Station.
        public ActionResult GetProgramNamesByStation(int stationNbr)
        {
            StationsVM stnVM = new StationsVM();

            stnVM.allPrograms = this.GetAllPrograms(stationNbr);

            return(PartialView("~/Views/Shared/_AllPrograms.cshtml", stnVM));
        }
Ejemplo n.º 2
0
        public ActionResult Index()
        {
            //Load Default values
            //Q2 > Station Drop Down values
            StationsVM stnVM = new StationsVM();

            stnVM.allStations = this.GetAllStations();

            return(View(stnVM));
        }