Beispiel #1
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ITokenService tokenService,
     ApplicationUserDbContext dbContext,
     IMapper mapper,
     IRandomPasswordHelper randomPasswordHelper,
     IExternalAuthService <FacebookResponse> facebookService,
     IExternalAuthService <GoogleResponse> googleService,
     ILogger <AccountController> logger,
     IHostingEnvironment hostingEnvironment,
     IChallengeUserSyncService challengeUserSyncService,
     ILoyaltySyncService loyaltySyncService,
     ILoyaltyService loyaltyService,
     IGameUserSyncService gameUserSyncService,
     IImageService imageService,
     IStringLocalizer <AccountController> localizer)
 {
     _userManager              = userManager;
     _signInManager            = signInManager;
     _tokenService             = tokenService;
     _dbContext                = dbContext;
     _mapper                   = mapper;
     _randomPasswordHelper     = randomPasswordHelper;
     _facebookService          = facebookService;
     _googleService            = googleService;
     _logger                   = logger;
     _hostingEnvironment       = hostingEnvironment;
     _challengeUserSyncService = challengeUserSyncService;
     _loyaltySyncService       = loyaltySyncService;
     _loyaltyService           = loyaltyService;
     _gameUserSyncService      = gameUserSyncService;
     _imageService             = imageService;
     _localizer                = localizer;
 }
Beispiel #2
0
 public NotificationController(
     IHubContext <NotificationHub, ITypedHubClient> hubContext,
     INotificationService notificationService,
     INotificationTemplateService notificationTemplateService,
     IIdentityService identityService,
     ILoyaltySyncService loyaltySyncService,
     IMapper mapper)
 {
     _hubContext                  = hubContext;
     _notificationService         = notificationService;
     _notificationTemplateService = notificationTemplateService;
     _identityService             = identityService;
     _loyaltySyncService          = loyaltySyncService;
     _mapper = mapper;
 }
Beispiel #3
0
 public GameManager(
     IStringLocalizer <GameManager> localizer,
     IRoundAnswerService roundAnswerService,
     IGameRoundService gameRoundService,
     IBluffService bluffService,
     IGameService gameService,
     ILoyaltySyncService loyaltySyncService,
     IBotService botService,
     IUserService userService,
     IMapper mapper,
     IHubContext <GameHub> hubContext)
 {
     _localizer          = localizer;
     _roundAnswerService = roundAnswerService;
     _gameRoundService   = gameRoundService;
     _bluffService       = bluffService;
     _gameService        = gameService;
     _loyaltySyncService = loyaltySyncService;
     _botService         = botService;
     _userService        = userService;
     _mapper             = mapper;
     _hubContext         = hubContext;
 }