public GamblerController(ProBetContext context, UserManager <AppUser> userMgr, IWebHostEnvironment hostEnvironment) { _context = context; dbContext = context; webHostEnvironment = hostEnvironment; userManager = userMgr; }
public AdminController(UserManager <AppUser> usrMgr, IPasswordHasher <AppUser> passwordHash, IPasswordValidator <AppUser> passwordVal, IUserValidator <AppUser> userValid, ProBetContext context) { userManager = usrMgr; passwordHasher = passwordHash; passwordValidator = passwordVal; userValidator = userValid; _context = context; }
public AccountController(UserManager <AppUser> userMgr, SignInManager <AppUser> signinMgr, IPasswordHasher <AppUser> passwordHash, IPasswordValidator <AppUser> passwordVal, IUserValidator <AppUser> userValid, ProBetContext context) { userManager = userMgr; signInManager = signinMgr; passwordHasher = passwordHash; passwordValidator = passwordVal; userValidator = userValid; _context = context; }
public MatchesController(ProBetContext context) { _context = context; }
public TicketsController(ProBetContext context) { _context = context; }
public GamblersController(ProBetContext context, IWebHostEnvironment hostEnvironment) { _context = context; dbContext = context; webHostEnvironment = hostEnvironment; }