コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public ReviewsController(CarsAppContext context)
 {
     _context = context;
 }
コード例 #4
0
 public DriversController(CarsAppContext context, IHostingEnvironment hostingEnvironment)
 {
     _context = context;
     webHostingEnvironment = hostingEnvironment;
 }
コード例 #5
0
 public CarsModelsController(CarsAppContext context)
 {
     _context = context;
 }
コード例 #6
0
 public DriverController(CarsAppContext context, IHostingEnvironment hostEnvironment, UserManager <AppUser> userMgr)
 {
     _context           = context;
     webHostEnvironment = hostEnvironment;
     userManager        = userMgr;
 }