public PowerballController(IPowerballRepository powerballRepository, ILogger <PowerballController> logger, IMapper mapper, LotteryGeniusContext ctx) { _powerballRepository = powerballRepository; _logger = logger; _mapper = mapper; _ctx = ctx; }
public MegamillionController(IMegamillionRepository megamillionRepository, ILogger <MegamillionController> logger, IMapper mapper, LotteryGeniusContext ctx, UserManager <LotteryGeniusUser> userManager, RoleManager <IdentityRole <int> > roleManager) { _megamillionRepository = megamillionRepository; _logger = logger; _mapper = mapper; _ctx = ctx; _userManager = userManager; _roleManager = roleManager; }
public PowerballRepository(LotteryGeniusContext ctx, ILogger <PowerballRepository> logger, IConfiguration config, IMapper mapper, IEmailSender emailSender, UserManager <LotteryGeniusUser> userManager, IHostingEnvironment env) { _ctx = ctx; _logger = logger; _config = config; _mapper = mapper; _emailSender = emailSender; this.userManager = userManager; this.env = env; sqlConnection = new SqlConnection(_config.GetConnectionString("LotteryGeniusConnectionString")); }
public AccountController(ILogger <AccountController> logger, SignInManager <LotteryGeniusUser> signInManager, UserManager <LotteryGeniusUser> userManager, IConfiguration config, RoleManager <IdentityRole <int> > roleManager, LotteryGeniusContext ctx, IEmailSender emailSender, IHostingEnvironment env) { this.logger = logger; this.signInManager = signInManager; this.userManager = userManager; this.config = config; this.roleManager = roleManager; _ctx = ctx; _emailSender = emailSender; this.env = env; }
public SettingsRepository(LotteryGeniusContext ctx, ILogger <SettingsRepository> logger, IConfiguration config, IMapper mapper, IEmailSender emailSender) { this.ctx = ctx; this.logger = logger; this.config = config; this.mapper = mapper; this.emailSender = emailSender; }
public SettingsController(ISettingsRepository settingsRepository, ILogger <SettingsController> logger, IMapper mapper, LotteryGeniusContext ctx, UserManager <LotteryGeniusUser> userManager, RoleManager <IdentityRole <int> > roleManager) { this.settingsRepository = settingsRepository; this.logger = logger; this.mapper = mapper; this.ctx = ctx; this.userManager = userManager; this.roleManager = roleManager; }