Esempio n. 1
0
        public BoardController(
            ForumServices forumServices,
            SearchServices searchServices,
            ThreadServices threadServices,
            PostServices postServices,
            PollServices pollServices,
            GlobalServices globalServices,
            IRepository<OnlineUser> onlineUserRepository,
            IRepository<OnlineGuest> onlineGuestRepository,
            IRepository<User> userRepository,
            UserServices usersServices,
            RoleServices roleServices,
            MessageServices messageServices,
            PermissionServices permissionServices,
            FileServices fileServices)
        {
            _forumServices = forumServices;
            _searchServices = searchServices;
            _threadServices = threadServices;
            _postServices = postServices;
            _pollServices = pollServices;
            _onlineUserRepository = onlineUserRepository;
            _onlineGuestRepository = onlineGuestRepository;
            _userRepository = userRepository;
            _userServices = usersServices;
            _roleServices = roleServices;
            _messageServices = messageServices;
            _permissionServices = permissionServices;
            _fileServices = fileServices;

            SetTopBreadCrumb("Board");
        }
Esempio n. 2
0
 public AuthController(
     UserServices userServices, 
     EmailServices emailServices)
 {
     _userServices = userServices;
     _emailServices = emailServices;
 }
Esempio n. 3
0
 public AuthController(
     UserServices userServices, 
     EmailServices emailServices,
     User currentUser)
 {
     _userServices = userServices;
     _emailServices = emailServices;
     _currentUser = currentUser;
 }
 public MessagesController(
     UserServices userServices,
     MessageServices messageServicess,
     IRepository<Message> messageRepository,
     ParseServices parseServices,
     EmailServices emailServices)
 {
     _userServices = userServices;
     _messageServices = messageServicess;
     _parseServices = parseServices;
     _emailServices = emailServices;
     SetCrumbs("User CP", "User CP");
 }
 public MembersController(
      IRepository<Role> roleRepository,
      IRepository<User> userRepository,
      IRepository<Thread> threadRepository,
      IRepository<Post> postRepository,
      UserServices userServices)
 {
     _roleRepository = roleRepository;
     _userRepository = userRepository;
     _threadRepository = threadRepository;
     _postRepository = postRepository;
     _userServices = userServices;
     SetTopBreadCrumb("Members");
 }
Esempio n. 6
0
 public UserController(
     ThemeServices themes,
     UserServices users,
     ParseServices parseServices,
     MessageServices messageServices,
     EmailServices emailServices,
     FileServices fileServices,
     RoleServices roleServices)
 {
     _themeServices = themes;
     _userServices = users;
     _parseServices = parseServices;
     _messageServices = messageServices;
     _emailServices = emailServices;
     _fileServices = fileServices;
     _roleServices = roleServices;
     SetTopBreadCrumb("User CP");
     SetBreadCrumb("User CP");
 }
 public UsersController(IRepository<User> userRepository, UserServices userServices)
 {
     _userRepository = userRepository;
     _userServices = userServices;
     SetCrumb("Users");
 }