コード例 #1
0
 public HomeController(ILogger <HomeController> logger,
                       UserManager <IdentityUser> userManager,
                       UserInfoDBContext userInfoContext,
                       UserAddressDBContext userAddressContext,
                       DonationsDBContext donationsContext,
                       LeftRoverDBContext leftRoverDBContext)
 {
     _logger             = logger;
     _userManager        = userManager;
     _userInfoContext    = userInfoContext;
     _userAddressContext = userAddressContext;
     _donationsContext   = donationsContext;
     _leftRoverContext   = leftRoverDBContext;
 }
コード例 #2
0
 public AccountController(UserManager <IdentityUser> userManager,
                          SignInManager <IdentityUser> signInManager,
                          UserInfoDBContext userInfoContext,
                          UserAddressDBContext userAddressContext,
                          DonationsDBContext donationsContext,
                          LeftRoverDBContext leftRoverContext)
 {
     _userManager        = userManager;
     _signInManager      = signInManager;
     _userInfoContext    = userInfoContext;
     _userAddressContext = userAddressContext;
     _donationsContext   = donationsContext;
     _leftRoverContext   = leftRoverContext;
 }
コード例 #3
0
 public DCandidateController(DonationsDBContext context)
 {
     _context = context;
 }