예제 #1
0
 public AuthManagementController(
     UserManager <IdentityUser> userManager,
     IOptionsMonitor <JwtConfig> optionsMonitor,
     EcDbContext ecDbContext
     )
 {
     _userManager = userManager;
     _jwtConfig   = optionsMonitor.CurrentValue;
     _ecDbContext = ecDbContext;
 }
예제 #2
0
 public UserInfoController(EcDbContext context)
 {
     _context = context;
 }
예제 #3
0
 public ProductController(EcDbContext context)
 {
     _context = context;
 }
 public OrderRepository(EcDbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
예제 #5
0
 public CartController(EcDbContext context)
 {
     _context = context;
 }