コード例 #1
0
 public UnifOfWork(SqlServerApplicationContext context, IConfiguration configuration, IHttpContextAccessor httpContextAccessor, IHostEnvironment environment)
 {
     _context             = context;
     _configuration       = configuration;
     _httpContextAccessor = httpContextAccessor;
     _environment         = environment;
 }
コード例 #2
0
 public CustomerController(UserManager <Customer> userManager, RoleManager <CustomerRole> roleManager, SqlServerApplicationContext context)
 {
     this.userManager = userManager;
     this.roleManager = roleManager;
     this.context     = context;
 }