コード例 #1
0
        public ActionResult UserGroup(string id)
        {
            var m = UserListModel.GetByGroupId(new Guid(id));

            ViewBag.Title = @Piranha.Resources.Settings.ListTitleUsers;

            return(View(@"~/Areas/Manager/Views/Settings/UserList.cshtml", m));
        }
コード例 #2
0
ファイル: SettingsController.cs プロジェクト: zaieda/Piranha
        public ActionResult UserGroup(string id)
        {
            var m = UserListModel.GetByGroupId(new Guid(id));

            ViewBag.Title = @Piranha.Resources.Settings.ListTitleUsers;

            // Executes the user list loaded hook, if registered
            if (WebPages.Hooks.Manager.UserListModelLoaded != null)
            {
                WebPages.Hooks.Manager.UserListModelLoaded(this, WebPages.Manager.GetActiveMenuItem(), m);
            }

            return(View(@"~/Areas/Manager/Views/Settings/UserList.cshtml", m));
        }