public BaseController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, SignInManager <ApplicationUser> signInManager, IEmailSender sender, BellumGensDbContext context, ILogger <BaseController> logger)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _sender        = sender;
     _dbContext     = context;
     _logger        = logger;
 }
 public TeamsController(ISteamService steamService,
                        INotificationService notificationService,
                        UserManager <ApplicationUser> userManager,
                        RoleManager <IdentityRole> roleManager,
                        SignInManager <ApplicationUser> signInManager,
                        IEmailSender sender,
                        BellumGensDbContext context,
                        ILogger <TeamsController> logger) : base(userManager, roleManager, signInManager, sender, context, logger)
 {
     _steamService        = steamService;
     _notificationService = notificationService;
 }
 public StrategyController(IStorageService fileService,
                           INotificationService notificationService,
                           UserManager <ApplicationUser> userManager,
                           RoleManager <IdentityRole> roleManager,
                           SignInManager <ApplicationUser> signInManager,
                           IEmailSender sender,
                           BellumGensDbContext context,
                           ILogger <StrategyController> logger) : base(userManager, roleManager, signInManager, sender, context, logger)
 {
     _fileService         = fileService;
     _notificationService = notificationService;
 }
 public AdminController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, SignInManager <ApplicationUser> signInManager, IEmailSender sender, BellumGensDbContext context, ILogger <AdminController> logger)
     : base(userManager, roleManager, signInManager, sender, context, logger)
 {
 }
예제 #5
0
 public TournamentController(AppConfiguration appInfo, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, SignInManager <ApplicationUser> signInManager, IEmailSender sender, BellumGensDbContext context, ILogger <AccountController> logger)
     : base(userManager, roleManager, signInManager, sender, context, logger)
 {
     _appInfo = appInfo;
 }
 public CompaniesController(BellumGensDbContext context)
 {
     _dbContext = context;
 }