コード例 #1
0
 public UsersController(spinedbContext db, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, IHostingEnvironment env, IConfiguration configuration)
 {
     this.db        = db;
     _signInManager = signInManager;
     _userManager   = userManager;
     _env           = env;
     _configuration = configuration;
     fileController = new FileUploadController(db, _env);
 }
コード例 #2
0
 public DocumentsController(spinedbContext db, IHostingEnvironment env)
 {
     this.db        = db;
     fileController = new FileUploadController(db, env);
 }