Example #1
0
        public ActionResult Index()
        {
            ViewBag.Message  = "Your contact page.";
            ViewBag.persons  = subjectManager.GetPersonen().Select(p => p.Full_Name);
            ViewBag.partijen = subjectManager.GetOrganisaties();
            ViewBag.themas   = themeManager.GetThemas().Select(t => t.Name);
            List <DashboardItem> dbitems = dbmanager.GetAllDashboardItems();

            return(View(dbitems));
        }
Example #2
0
        public ActionResult Personen()
        {
            IEnumerable <Person> personen = mgr.GetPersonen();

            return(View(personen));
        }