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 HomeController(IPowerballRepository powerballRepository, IMegamillionRepository megamillionRepository, IConfiguration configuration) { _powerballRepository = powerballRepository; this.megamillionRepository = megamillionRepository; this.configuration = configuration; }