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

            HidePermission( typeof( wojilu.Web.Controller.SecurityController ) );
        }
 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();
        }
 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();
 }
Example #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();

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