Пример #1
0
 public AssociateController(
     IMembershipService membershipService,
     IMembershipService associateMembershipService,
     IAssociateService associateService,
     IDocumentService documentService,
     IReferenceService referenceService,
     IEmployeeService employeeService,
     IProspectService prospectService,
     IPrincipal user,
     IClientProjectSharedService clientProjectSharedService,
     IIndividualService individualService,
     IRoleService roleService,
     Admin.Services.IEmailService emailService)
     : base(membershipService, associateService, user)
 {
     this.associateService = associateService;
     this.documentService = documentService;
     this.referenceService = referenceService;
     this.employeeService = employeeService;
     this.prospectService = prospectService;
     this.associateMembershipService = associateMembershipService;
     this.clientProjectSharedService = clientProjectSharedService;
     this.individualService = individualService;
     this.roleService = roleService;
     this.emailService = emailService;
 }
Пример #2
0
 public MenuCommands(IWidgetsService widgetsService, ISiteService siteService, IMembershipService membershipService, IAdvancedMenuService menuService)
 {
     _widgetsService = widgetsService;
     _siteService = siteService;
     _membershipService = membershipService;
     _menuService = menuService;
 }
Пример #3
0
 public FileController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, 
     ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService, IUploadedFileService uploadedFileService, ICategoryService categoryService, ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService, cacheService)
 {
     _uploadedFileService = uploadedFileService;
     _categoryService = categoryService;
 }
 // This constructor is not used by the MVC framework but is instead provided for ease
 // of unit testing this type. See the comments at the end of this file for more
 // information.
 public AccountController(IFormsAuthentication formsAuth, IMembershipService service,
     ILogger logger)
 {
     FormsAuth = formsAuth ?? new FormsAuthenticationService();
     MembershipService = service ?? new AccountMembershipService();
     Logger = logger ?? new Logger.Logger();
 }
 public HomeController(IMembershipService membershipService,
     IRepository<UserLeague> userLeagueRepository)
     : base()
 {
     this.membershipService = membershipService ?? new AccountMembershipService();
     this.userLeagueRepository = userLeagueRepository;
 }
Пример #6
0
 public MembersController(
     IMembershipService membershipService,
     IRoleService roleService)
 {
     _membershipService = membershipService;
     _roleService = roleService;
 }
 public CommentController(ICommentMapper commentMapper, IImageAlbumService imageAlbumService, ICommentService commentService, IMembershipService membershipService)
 {
     this._commentMapper = commentMapper;
     this._imageAlbumService = imageAlbumService;
     this._commentService = commentService;
     this._membershipService = membershipService;
 }
Пример #8
0
        public static AuthJson GetAuthData(IMembershipService service, string key)
        {
            var toRet = service.GetAuthData(key);
            toRet.avatar = GetImageUrl(ControllerHelpers.GetUserImagePath(toRet.avatar, true, Member.AvatarFolder));

            return toRet;
        }
Пример #9
0
 public StatsController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, 
     ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService, ITopicService topicService, IPostService postService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicService = topicService;
     _postService = postService;
 }
Пример #10
0
 public EditorController(IRepository<Editor> editorRepository, IAccessService accessService, IEmailService emailService, IMembershipService membershipService)
 {
     _editorRepository = editorRepository;
     _accessService = accessService;
     _emailService = emailService;
     _membershipService = membershipService;
 }
Пример #11
0
 public TagController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService, ITopicTagService topicTagService, ICategoryService categoryService, ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicTagService = topicTagService;
     _categoryService = categoryService;
     _cacheService = cacheService;
 }
 public NotificationController(
     IFriendshipService friendshipService,
     IMembershipService membershipService)
 {
     this._friendshipService = friendshipService;
     this._membershipService = membershipService;
 }
 public AuditPusherToGitNotes(IHookReceivePack next, IGitRepositoryLocator repoLocator, Bonobo.Git.Server.Data.IRepositoryRepository repoConfig, IMembershipService userRepo)
 {
     this.next = next;
     this.repoLocator = repoLocator;
     this.repoConfig = repoConfig;
     this.userRepo = userRepo;
 }
Пример #14
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unitOfWorkManager"> </param>
 /// <param name="membershipService"> </param>
 /// <param name="localizationService"></param>
 /// <param name="settingsService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="loggingService"> </param>
 public AdminBadgeController(IBadgeService badgeService, IPostService postService, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, 
     IMembershipService membershipService, ILocalizationService localizationService, ISettingsService settingsService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _badgeService = badgeService;
     _postService = postService;
 }
Пример #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountController"/> class.
 /// </summary>
 /// <param name="formsAuthenticationService">The forms authentication service.</param>
 /// <param name="membershipService">The membership service.</param>
 public AccountController(
     IFormsAuthenticationService formsAuthenticationService, 
     IMembershipService membershipService)
 {
     this.MembershipService = membershipService;
     this.FormsService = formsAuthenticationService;
 }
 public PasswordsController(
     IMembershipService membershipService,
     IMailer mailer)
 {
     this.membershipService = membershipService;
     this.mailer = mailer;
 }
 public CharitiesAdminController(IRolesService rolesService, IMembershipService membershipService,
     ICharityRepository charityRepository)
 {
     _rolesService = rolesService;
     _membershipService = membershipService;
     _charityRepository = charityRepository;
 }
Пример #18
0
        protected override void Initialize(RequestContext requestContext)
        {
            if (FormsService == null) { FormsService = new FormsAuthenticationService(); }
            if (MembershipService == null) { MembershipService = new AccountMembershipService(); }

            base.Initialize(requestContext);
        }
Пример #19
0
 public UserCommands(
     IMembershipService membershipService,
     IUserService userService)
 {
     _membershipService = membershipService;
     _userService = userService;
 }
Пример #20
0
        protected override void Initialize(System.Web.Routing.RequestContext requestContext)
        {
            if (RoleService == null) { RoleService = new AccountRoleService(); }
            if (MembershipService == null) { MembershipService = new AccountMembershipService(); }

            base.Initialize(requestContext);
        }
Пример #21
0
 public TagsController(
     ITagService tagService,
     IMembershipService membershipService)
 {
     _tagService = tagService;
     _membershipService = membershipService;
 }
 public MembershipController(IUserService userService, IAuthentication authentication, IListingService listingService, IMembershipService membershipService)
 {
     _userService = userService;
     _authentication = authentication;
     _listingService = listingService;
     _membershipService = membershipService;
 }
Пример #23
0
 public LeadController(
     ILeadService LeadService,
     IContactService contactService,
     IMembershipService membershipService,
     IRoleService roleService,
     INoteService noteService,
     IActivityService activityService,
     ISaleService saleService,
     ITaskService taskService,
     ViewDataHelper viewdataHelper,
     ICampaignService campaignService,
     ITagService tagService)
 {
     _leadService = LeadService;
     _contactService = contactService;
     _membershipService = membershipService;
     _roleService = roleService;
     _noteService = noteService;
     _activityService = activityService;
     _saleService = saleService;
     _taskService = taskService;
     _viewdataHelper = viewdataHelper;
     _campaignService = campaignService;
     _tagService = tagService;
 }
 // This constructor is not used by the MVC framework but is instead provided for ease
 // of unit testing this type. See the comments in AccountModels.cs for more information.
 public AccountController(IFormsAuthenticationService formsService,
                          IMembershipService membershipService)
 {
     FormsService = formsService ?? new FormsAuthenticationService();
     MembershipService = membershipService ??
                         new AccountMembershipService();
 }
Пример #25
0
 public SnippetsController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, 
     ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService,
     IMembershipUserPointsService membershipUserPointsService, ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService, cacheService)
 {
     _membershipUserPointsService = membershipUserPointsService;
 }
Пример #26
0
 public AccountController(IMembershipService membershipService,
     IEntityBaseRepository<Error> _errorsRepository,
     IUnitOfWork _unitOfWork)
     : base(_errorsRepository, _unitOfWork)
 {
     _membershipService = membershipService;
 }
Пример #27
0
 public OTAUIController(IOTAUIService otaUIService, IOTARedisService redisService, IFileService fileService, IUserAccessDataControlService userAccessDataControlService, IMembershipService membershipService, IFullTextSearchService fullTextSearchService)
     : base(otaUIService, redisService, fileService, fullTextSearchService)
 {
     this.UserAccessDataControlService = userAccessDataControlService;
     this.MembershipService = membershipService;
     StatusOTAService = StructureMap.ObjectFactory.GetInstance<IStatusOTAService>();
 }
Пример #28
0
 public PostWrapper(IPostDao postDao, IMembershipService membershipService, ISubDao subDao, IVoteDao voteDao)
 {
     _postDao = postDao;
     _membershipService = membershipService;
     _subDao = subDao;
     _voteDao = voteDao;
 }
Пример #29
0
 public CustomerService(IOrchardServices orchardServices, IMembershipService membershipService, IClock clock, IOrderService orderService)
 {
     _orchardServices = orchardServices;
     _membershipService = membershipService;
     _clock = clock;
     _orderService = orderService;
 }
        public SGAccountController()
        {
            this.membershipService = new MembershipService(Membership.Provider);

            this.authenticationService = new AuthenticationService(membershipService, new FormsAuthenticationService());
            this.formsAuthenticationService = new FormsAuthenticationService();
        }
Пример #31
0
 public AccountController(IMembershipService membershipService)
 {
     MembershipService = membershipService;
 }
Пример #32
0
 // This constructor is not used by the MVC framework but is instead provided for ease
 // of unit testing this type. See the comments in AccountModels.cs for more information.
 public AccountController(IFormsAuthenticationService formsService, IMembershipService membershipService)
 {
     FormsService      = formsService ?? new FormsAuthenticationService();
     MembershipService = membershipService ?? new AccountMembershipService();
 }
Пример #33
0
        public PostController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService,
                              ILocalizationService localizationService, IRoleService roleService, ITopicService topicService, IPostService postService,
                              ISettingsService settingsService, ICategoryService categoryService, ITopicTagService topicTagService,
                              ITopicNotificationService topicNotificationService, IEmailService emailService, IReportService reportService, IPollAnswerService pollAnswerService,
                              IPollService pollService, IBannedWordService bannedWordService, IMembershipUserPointsService membershipUserPointsService)
            : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
        {
            _topicService                = topicService;
            _postService                 = postService;
            _categoryService             = categoryService;
            _topicTagService             = topicTagService;
            _topicNotificationService    = topicNotificationService;
            _emailService                = emailService;
            _reportService               = reportService;
            _pollAnswerService           = pollAnswerService;
            _pollService                 = pollService;
            _bannedWordService           = bannedWordService;
            _membershipUserPointsService = membershipUserPointsService;

            LoggedOnUser = UserIsAuthenticated ? MembershipService.GetUser(Username) : null;
            UsersRole    = LoggedOnUser == null?RoleService.GetRole(AppConstants.GuestRoleName) : LoggedOnUser.Roles.FirstOrDefault();
        }
 public MembershipController(IMembershipService membershipService, ILogger <MembershipController> _logger)
 {
     _membershipService = membershipService;
     logger             = _logger;
 }
Пример #35
0
 // This constructor is not used by the MVC framework but is instead provided for ease
 // of unit testing this type. See the comments at the end of this file for more
 // information.
 public AccountController(IFormsAuthentication formsAuth, IMembershipService service)
 {
     FormsAuth         = formsAuth ?? new FormsAuthenticationService();
     MembershipService = service ?? new AccountMembershipService();
 }
Пример #36
0
 public AjaxController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ISettingsService settingsService, ICacheService cacheService, ILocalizationService localizationService)
     : base(loggingService, unitOfWorkManager, membershipService, settingsService, cacheService, localizationService)
 {
 }
Пример #37
0
        public SamplePushUserRegistrationService(HttpContextBase context, WebOperationContext webOperationContext, IFormsAuthentication formsAuth, IMembershipService membershipService, IPushUserEndpointsRepository pushUserEndpointsRepository, CloudQueueClient cloudQueueClient)
        {
            if ((context == null) && (HttpContext.Current == null))
            {
                throw new ArgumentNullException("context", "Context cannot be null if not running on a Web context.");
            }

            if (pushUserEndpointsRepository == null)
            {
                throw new ArgumentNullException("pushUserEndpointsRepository", "PushUserEndpoints repository cannot be null.");
            }

            if (formsAuth == null)
            {
                throw new ArgumentNullException("formsAuth", "Forms Authentication service cannot be null.");
            }

            if (membershipService == null)
            {
                throw new ArgumentNullException("membershipService", "Membership service cannot be null.");
            }

            if ((cloudQueueClient == null) && (GetStorageAccountFromConfigurationSetting() == null))
            {
                throw new ArgumentNullException("cloudQueueClient", "Cloud Queue Client cannot be null if no configuration is loaded.");
            }

            this.cloudQueueClient            = cloudQueueClient ?? GetStorageAccountFromConfigurationSetting().CreateCloudQueueClient();
            this.webOperationContext         = webOperationContext;
            this.context                     = context;
            this.pushUserEndpointsRepository = pushUserEndpointsRepository;
            this.formsAuth                   = formsAuth;
            this.membershipService           = membershipService;
        }
Пример #38
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unitOfWorkManager"> </param>
 /// <param name="membershipService"> </param>
 /// <param name="localizationService"></param>
 /// <param name="settingsService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="loggingService"> </param>
 public AdminBadgeController(IBadgeService badgeService, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager,
                             IMembershipService membershipService, ILocalizationService localizationService, ISettingsService settingsService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _badgeService = badgeService;
 }
Пример #39
0
 public AdminTagController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService, ITopicTagService topicTagService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicTagService = topicTagService;
 }
Пример #40
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="membershipService"></param>
 public ServerController(IMembershipService membershipService)
 {
     this.membershipService = membershipService;
 }
Пример #41
0
 public AccountController(IUnitOfWork uow, IMembershipService membershipService)
     : base(uow)
 {
     _membershipService = membershipService;
 }
 public MembershipsController(IMembershipService membershipService, IMappingEngine mapping)
 {
     _membershipService = membershipService;
     _mapping           = mapping;
 }
Пример #43
0
 public ClosedController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, 
     ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService) : 
     base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
 }
Пример #44
0
 public void Configure(IMembershipService service, IEncryptionStrategy encryptionStrategy, ILogger logger)
 {
     _logger             = logger;
     _encryptionStrategy = encryptionStrategy;
     _membershipService  = service;
 }
Пример #45
0
 public FavouriteController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, IRoleService roleService, ITopicService topicService, IPostService postService,
                            ICategoryService categoryService, ILocalizationService localizationService, ISettingsService settingsService, ITopicTagService topicTagService, IMembershipUserPointsService membershipUserPointsService,
                            ICategoryNotificationService categoryNotificationService, IEmailService emailService, ITopicNotificationService topicNotificationService, IPollService pollService,
                            IPollAnswerService pollAnswerService, IBannedWordService bannedWordService, IVoteService voteService, IFavouriteService favouriteService, IBadgeService badgeService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicService                = topicService;
     _postService                 = postService;
     _categoryService             = categoryService;
     _topicTagService             = topicTagService;
     _membershipUserPointsService = membershipUserPointsService;
     _categoryNotificationService = categoryNotificationService;
     _emailService                = emailService;
     _topicNotificationService    = topicNotificationService;
     _pollService                 = pollService;
     _pollAnswerService           = pollAnswerService;
     _bannedWordService           = bannedWordService;
     _voteService                 = voteService;
     _favouriteService            = favouriteService;
     _badgeService                = badgeService;
 }
Пример #46
0
 public MembershipController()
 {
     this.roleService       = new RoleService(Roles.Provider);
     this.membershipService = new MembershipService(Membership.Provider);
 }
Пример #47
0
 public AccountController(IMembershipService membership, ILoginTracker loginTracker, IUnitRepository unitRepo)
 {
     _membership   = membership;
     _loginTracker = loginTracker;
 }
Пример #48
0
        public Silo(ILocalSiloDetails siloDetails, IServiceProvider services)
        {
            string name = siloDetails.Name;

            // Temporarily still require this. Hopefuly gone when 2.0 is released.
            this.siloDetails  = siloDetails;
            this.SystemStatus = SystemStatus.Creating;

            var startTime = DateTime.UtcNow;

            IOptions <ClusterMembershipOptions> clusterMembershipOptions = services.GetRequiredService <IOptions <ClusterMembershipOptions> >();

            initTimeout = clusterMembershipOptions.Value.MaxJoinAttemptTime;
            if (Debugger.IsAttached)
            {
                initTimeout = StandardExtensions.Max(TimeSpan.FromMinutes(10), clusterMembershipOptions.Value.MaxJoinAttemptTime);
                stopTimeout = initTimeout;
            }

            var localEndpoint = this.siloDetails.SiloAddress.Endpoint;

            this.Services = services;

            //set PropagateActivityId flag from node config
            IOptions <SiloMessagingOptions> messagingOptions = services.GetRequiredService <IOptions <SiloMessagingOptions> >();

            RequestContext.PropagateActivityId       = messagingOptions.Value.PropagateActivityId;
            this.waitForMessageToBeQueuedForOutbound = messagingOptions.Value.WaitForMessageToBeQueuedForOutboundTime;

            this.loggerFactory = this.Services.GetRequiredService <ILoggerFactory>();
            logger             = this.loggerFactory.CreateLogger <Silo>();

            logger.Info(ErrorCode.SiloGcSetting, "Silo starting with GC settings: ServerGC={0} GCLatencyMode={1}", GCSettings.IsServerGC, Enum.GetName(typeof(GCLatencyMode), GCSettings.LatencyMode));
            if (!GCSettings.IsServerGC)
            {
                logger.Warn(ErrorCode.SiloGcWarning, "Note: Silo not running with ServerGC turned on - recommend checking app config : <configuration>-<runtime>-<gcServer enabled=\"true\">");
                logger.Warn(ErrorCode.SiloGcWarning, "Note: ServerGC only kicks in on multi-core systems (settings enabling ServerGC have no effect on single-core machines).");
            }

            if (logger.IsEnabled(LogLevel.Debug))
            {
                var highestLogLevel = logger.IsEnabled(LogLevel.Trace) ? nameof(LogLevel.Trace) : nameof(LogLevel.Debug);
                logger.LogWarning(
                    new EventId((int)ErrorCode.SiloGcWarning),
                    $"A verbose logging level ({highestLogLevel}) is configured. This will impact performance. The recommended log level is {nameof(LogLevel.Information)}.");
            }

            logger.Info(ErrorCode.SiloInitializing, "-------------- Initializing silo on host {0} MachineName {1} at {2}, gen {3} --------------",
                        this.siloDetails.DnsHostName, Environment.MachineName, localEndpoint, this.siloDetails.SiloAddress.Generation);
            logger.Info(ErrorCode.SiloInitConfig, "Starting silo {0}", name);

            try
            {
                grainFactory = Services.GetRequiredService <GrainFactory>();
            }
            catch (InvalidOperationException exc)
            {
                logger.Error(ErrorCode.SiloStartError, "Exception during Silo.Start, GrainFactory was not registered in Dependency Injection container", exc);
                throw;
            }

            // Performance metrics
            siloStatistics = Services.GetRequiredService <SiloStatisticsManager>();

            runtimeClient = Services.GetRequiredService <InsideRuntimeClient>();

            // Initialize the message center
            messageCenter = Services.GetRequiredService <MessageCenter>();
            messageCenter.SniffIncomingMessage = runtimeClient.SniffIncomingMessage;

            // Now the router/directory service
            // This has to come after the message center //; note that it then gets injected back into the message center.;
            localGrainDirectory = Services.GetRequiredService <LocalGrainDirectory>();

            // Now the consistent ring provider
            RingProvider = Services.GetRequiredService <IConsistentRingProvider>();

            catalog = Services.GetRequiredService <Catalog>();

            siloStatusOracle       = Services.GetRequiredService <ISiloStatusOracle>();
            this.membershipService = Services.GetRequiredService <IMembershipService>();

            this.SystemStatus = SystemStatus.Created;

            StringValueStatistic.FindOrCreate(StatisticNames.SILO_START_TIME,
                                              () => LogFormatter.PrintDate(startTime)); // this will help troubleshoot production deployment when looking at MDS logs.

            this.siloLifecycle = this.Services.GetRequiredService <ISiloLifecycleSubject>();
            // register all lifecycle participants
            IEnumerable <ILifecycleParticipant <ISiloLifecycle> > lifecycleParticipants = this.Services.GetServices <ILifecycleParticipant <ISiloLifecycle> >();

            foreach (ILifecycleParticipant <ISiloLifecycle> participant in lifecycleParticipants)
            {
                participant?.Participate(this.siloLifecycle);
            }
            // register all named lifecycle participants
            IKeyedServiceCollection <string, ILifecycleParticipant <ISiloLifecycle> > namedLifecycleParticipantCollection = this.Services.GetService <IKeyedServiceCollection <string, ILifecycleParticipant <ISiloLifecycle> > >();

            foreach (ILifecycleParticipant <ISiloLifecycle> participant in namedLifecycleParticipantCollection
                     ?.GetServices(this.Services)
                     ?.Select(s => s.GetService(this.Services)))
            {
                participant?.Participate(this.siloLifecycle);
            }

            // add self to lifecycle
            this.Participate(this.siloLifecycle);

            logger.Info(ErrorCode.SiloInitializingFinished, "-------------- Started silo {0}, ConsistentHashCode {1:X} --------------", SiloAddress.ToLongString(), SiloAddress.GetConsistentHashCode());
        }
Пример #49
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unitOfWorkManager"> </param>
 /// <param name="membershipService"></param>
 /// <param name="localizationService"></param>
 /// <param name="roleService"></param>
 /// <param name="settingsService"> </param>
 /// <param name="loggingService"> </param>
 public ProbabilitiesController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ILocalizationService localizationService,
                                IRoleService roleService, ISettingsService settingsService,
                                ITeamService teamService, ILeagueService leagueService, ISeasonService seasonService, IProbabilitiesService probabilitiesService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _teamService          = teamService;
     _leagueService        = leagueService;
     _seasonService        = seasonService;
     _probabilitiesService = probabilitiesService;
 }
Пример #50
0
 public MembershipController(IMembershipService service, IMapper mapperInterface, IFacadeFilter filter) : base()
 {
     Service = service;
     mapper  = mapperInterface;
     Filter  = filter;
 }
 public AccountController(IFormsAuthenticationService formsService, IMembershipService membershipService)
 {
     this.formsService      = formsService;
     this.membershipService = membershipService;
 }
Пример #52
0
 // GET: Employees
 public EmployeesController(IEmployeesService employeesService, IEmployeesRoleService employeesRoleService, ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ISettingsService settingsService, ICacheService cacheService, ILocalizationService localizationService)
     : base(loggingService, unitOfWorkManager, membershipService, settingsService, cacheService, localizationService)
 {
     _employeesService     = employeesService;
     _employeesRoleService = employeesRoleService;
 }
 public JabbRFormsAuthenticationProvider(IJabbrRepository repository, IMembershipService membershipService)
 {
     _repository        = repository;
     _membershipService = membershipService;
 }
Пример #54
0
 public FileController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService, IUploadedFileService uploadedFileService, ICategoryService categoryService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _uploadedFileService = uploadedFileService;
     _categoryService     = categoryService;
 }
Пример #55
0
 public HomeController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IActivityService activityService, IMembershipService membershipService,
                       ITopicService topicService, ILocalizationService localizationService, IRoleService roleService,
                       ISettingsService settingsService, ICategoryService categoryService, IPostService postService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicService    = topicService;
     _categoryService = categoryService;
     _postService     = postService;
     _activityService = activityService;
 }
Пример #56
0
 public MembershipController(IMembershipService membershipService, IRoleService roleService)
 {
     this.roleService       = roleService;
     this.membershipService = membershipService;
 }
Пример #57
0
 public MembershipController(IMembershipService membershipService, IMapper mapper)
 {
     _membershipService = membershipService;
     _mapper            = mapper;
 }
Пример #58
0
 public AccountController(IMembershipService membershipSer, IUserRepository userRe, ILoggingRepository loggingRe)
 {
     this.membershipService = membershipSer;
     this.userRepo          = userRe;
     this.loggingRepo       = loggingRe;
 }
 public MembershipController(IMembershipService memberservice)
 {
     _memberservice = memberservice;
 }
 public ApplicationProcessorService(IApplicationRepository applicationRepository, IMembershipService membershipService)
 {
     _applicationRepository = applicationRepository;
     _membershipService     = membershipService;
 }