Esempio n. 1
0
        // GET: TempData
        public ActionResult Index2()
        {
            IEnumerable <JobSearcher> searcher = jobSearcherRepository.GetJobSearchers();

            TempData["JobSearcher"] = searcher;
            return(View("ModelView", searcher));
        }
        public ActionResult Index()
        {
            IEnumerable <JobSearcher> searcher = jobSearcherRepository.GetJobSearchers();

            //ViewBag.JobSearcher = searcher;
            return(View("Index", searcher));
        }