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)); }
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)); }