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