Beispiel #1
0
 // GET: Home
 public ActionResult Index()
 {
     //系统模块列表
     ViewData["Module"]   = ModuleManage.GetModule(CurrentUser.Id, CurrentUser.Permissions, CurrentUser.System_Id);
     ViewData["Contacts"] = Contacts();
     return(View(CurrentUser));
 }
Beispiel #2
0
        public ActionResult Index()
        {
            //获取系统模块列表(如果用BUI可以写个方法输出Json给BUI)
            ViewData["Module"] = ModuleManage.GetModule(this.CurrentUser.Id, this.CurrentUser.Permissions, this.CurrentUser.System_Id);

            //通讯录
            ViewData["Contacts"] = Contacts();

            return(View(this.CurrentUser));
        }