コード例 #1
0
ファイル: AccountController.cs プロジェクト: Haji2018/Payroll
 public AccountController(UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager,
                          RoleManager <IdentityRole> roleManager,
                          IHostingEnvironment _hostingEnvironment,
                          IRandomFileName _randomFile)
 {
     _userManager       = userManager;
     _signInManager     = signInManager;
     _roleManager       = roleManager;
     hostingEnvironment = _hostingEnvironment;
     randomFile         = _randomFile;
 }
コード例 #2
0
 public EmployeeController(PayrollDbContext dbContext, IHostingEnvironment hosting, IRandomFileName randomFileName)
 {
     _payrollDb         = dbContext;
     hostingEnvironment = hosting;
     randomFile         = randomFileName;
 }