示例#1
0
        public JoinController()
        {
            groupService = new GroupService();
            mgrService = new MemberGroupService();

            HidePermission( typeof( wojilu.Web.Controller.SecurityController ) );
        }
示例#2
0
 public virtual IMember getOwnerByUrl( MvcContext ctx )
 {
     Group group = new GroupService().GetByUrl( ctx.route.owner );
     if (group == null) {
         throw ctx.ex( HttpStatus.NotFound_404, "owner error : " + lang.get( "exGroupNotFound" ) );
     }
     return group;
 }
        public MyGroupController()
        {
            msgService = new MessageService();
            groupService = new GroupService();
            mgrService = new MemberGroupService();
            inviteService = new InviteService();

            gpostService = new GroupPostService();
        }
示例#4
0
 public GroupController() {
     postService = new GroupPostService();
     groupService = new GroupService();
     topicService = new ForumTopicService();
     msgService = new MessageService();
     mgrService = new MemberGroupService();
     userService = new UserService();
     logService = new SiteLogService();
     fpostService = new ForumPostService();
 }
示例#5
0
        public GroupLayoutController()
        {
            groupMenuService = new GroupMenuService();
            groupAppService = new GroupAppService();

            groupService = new GroupService();
            mgrService = new MemberGroupService();
            gfService = new GroupFriendService();
            skinService = new SkinService();
            siteSkinService = new SiteSkinService();
        }
        public MemberController() {
            groupService = new GroupService();
            mgrService = new MemberGroupService();

        }
示例#7
0
 public MainController()
 {
     groupService = new GroupService();
     postService = new GroupPostService();
     userService = new UserService();
 }
示例#8
0
 public MainController()
 {
     groupService = new GroupService();
     mgrService = new MemberGroupService();
     logService = new GroupLogService();
 }
示例#9
0
 public FriendController()
 {
     gfService = new GroupFriendService();
     groupService = new GroupService();
     logService = new GroupLogService();
 }