public AdminController(UserManager <AppUser> usrMgr, IPasswordHasher <AppUser> passwordHash, IPasswordValidator <AppUser> passwordVal, IUserValidator <AppUser> userValid, CarsAppContext 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, CarsAppContext context) { userManager = userMgr; signInManager = signinMgr; passwordHasher = passwordHash; passwordValidator = passwordVal; userValidator = userValid; _context = context; }
public ReviewsController(CarsAppContext context) { _context = context; }
public DriversController(CarsAppContext context, IHostingEnvironment hostingEnvironment) { _context = context; webHostingEnvironment = hostingEnvironment; }
public CarsModelsController(CarsAppContext context) { _context = context; }
public DriverController(CarsAppContext context, IHostingEnvironment hostEnvironment, UserManager <AppUser> userMgr) { _context = context; webHostEnvironment = hostEnvironment; userManager = userMgr; }