Exemplo n.º 1
0
 public IActionResult Index()
 {
     ViewBag.columns       = ColumnChoices;
     ViewBag.tableChoices  = TableChoices;
     ViewBag.employers     = JobData.GetAllEmployers();
     ViewBag.locations     = JobData.GetAllLocations();
     ViewBag.positionTypes = JobData.GetAllPositionTypes();
     ViewBag.skills        = JobData.GetAllCoreCompetencies();
     return(View());
 }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            ViewBag.columns = ColumnChoices;
            // ViewBag.tableChoices = TableChoices;
            // ^ seems redundant.  Trying to eliminate it by making reference to ListController.TableChoices, which had to be made public (also made it get only)

            ViewBag.employers     = JobData.GetAllEmployers();
            ViewBag.locations     = JobData.GetAllLocations();
            ViewBag.positionTypes = JobData.GetAllPositionTypes();
            ViewBag.skills        = JobData.GetAllCoreCompetencies();

            return(View());
        }