Beispiel #1
0
 public HomeController(
     IUserGame userGameService
     , IGame gameService
     , IApplicationUser userService
     , UserManager <ApplicationUser> userManager
     , IMonthlyWinners monthlyWinnersService)
 {
     _gameService           = gameService;
     _userGameService       = userGameService;
     _userManager           = userManager;
     _userService           = userService;
     _monthlyWinnersService = monthlyWinnersService;
 }
Beispiel #2
0
 public UsersController(
     IApplicationUser userService,
     IUserGame userGameService,
     IGame gameService,
     IEmailSender emailService,
     UserManager <ApplicationUser> userManager,
     IMonthlyWinners monthlyWinnersService)
 {
     _userService           = userService;
     _userGameService       = userGameService;
     _gameService           = gameService;
     _userManager           = userManager;
     _emailService          = emailService;
     _monthlyWinnersService = monthlyWinnersService;
 }
Beispiel #3
0
 public UserGameController(
     IUserGame userGameService
     , IGame gameService
     , IApplicationUser userService
     , UserManager <ApplicationUser> userManager
     , IHubContext <ScoreboardsHub> hubContext
     , IMonthlyWinners monthlyWinnersService)
 {
     _gameService           = gameService;
     _userGameService       = userGameService;
     _userManager           = userManager;
     _userService           = userService;
     _hubContext            = hubContext;
     _monthlyWinnersService = monthlyWinnersService;
 }
Beispiel #4
0
 public GameController(
     IGame game
     , IUserGame userGameService
     , IApplicationUser userService
     , IMonthlyWinners monthlyWinnersService
     , IUpload uploadService
     , IConfiguration configuration)
 {
     _game                  = game;
     _userGameService       = userGameService;
     _userService           = userService;
     _monthlyWinnersService = monthlyWinnersService;
     _uploadService         = uploadService;
     _config                = configuration;
     // Game Images are in the same storage container as User Images, but they are in separate blobs
     _azureBlobStorageConnection = _config.GetConnectionString("AZURE_BLOB_STORAGE_USER_IMAGES");
 }