示例#1
0
 public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, PetTinderContext db)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _db            = db;
 }
示例#2
0
 public PetsController(UserManager <ApplicationUser> userManager, PetTinderContext db, IHostingEnvironment environment)
 {
     _userManager        = userManager;
     _db                 = db;
     _hostingEnvironment = environment;
 }