Beispiel #1
0
        public ActionResult Index()
        {
            var dao   = new InfoAdminDao();
            var model = dao.GetInfoAdmin();

            return(View(model));
        }
Beispiel #2
0
        public PartialViewResult Sidebar(Member admin)
        {
            var dao   = new InfoAdminDao();
            var model = dao.GetInfoAdmin();

            ViewBag.InfoAdmin = model;
            return(PartialView());
        }