コード例 #1
0
 public UserController(WebApisContext APIcontext, IPrincipal _principal, IConfiguration _config, IHostingEnvironment _environment)
 {
     context      = APIcontext;
     config       = _config;
     environment  = _environment;
     helper       = new Helper(_principal);
     emailService = new EmailService(_config);
 }
コード例 #2
0
 public CategoryRepository(WebApisContext APIcontext, IConfiguration config) : base(APIcontext)
 {
     _context = APIcontext;
     _config  = config;
 }
コード例 #3
0
 public DashboardRepository(WebApisContext APIcontext, IConfiguration config) : base(APIcontext)
 {
     _context = APIcontext;
     _config  = config;
 }
コード例 #4
0
 public ProductController(WebApisContext _context, IPrincipal _principal)
 {
     context   = _context;
     principal = _principal as ClaimsPrincipal;
     helper    = new Helper(_principal);
 }
コード例 #5
0
 public UserRepository(WebApisContext APIcontext, ILoginRepository loginRepository, IConfiguration config) : base(APIcontext)
 {
     _context         = APIcontext;
     _config          = config;
     _loginRepository = loginRepository;
 }
コード例 #6
0
 public EmailTemplateController(WebApisContext _context, IPrincipal _principal)
 {
     context   = _context;
     principal = _principal as ClaimsPrincipal;
     helper    = new Helper(_principal);
 }
コード例 #7
0
 public DashboardController(WebApisContext APIcontext)
 {
     context = APIcontext;
 }
コード例 #8
0
 public CartRepository(WebApisContext APIcontext, IConfiguration config, IProductRepository productRepository) : base(APIcontext)
 {
     _context           = APIcontext;
     _config            = config;
     _productRepository = productRepository;
 }
コード例 #9
0
 public ProductRepository(WebApisContext APIcontext, IPrincipal _principal) : base(APIcontext)
 {
     _context       = APIcontext;
     _specificClaim = new SpecificClaim(_principal);
 }
コード例 #10
0
 public LoginController(WebApisContext APIcontext, IConfiguration _config)
 {
     context      = APIcontext;
     config       = _config;
     emailService = new EmailService(_config);
 }
コード例 #11
0
 public UserController(WebApisContext APIcontext, IConfiguration _config)
 {
     context = APIcontext;
     config  = _config;
 }
コード例 #12
0
 public ProductAttributeRepository(WebApisContext APIcontext, IConfiguration config) : base(APIcontext)
 {
     _context = APIcontext;
     _config  = config;
 }
コード例 #13
0
 public CategoryController(WebApisContext APIcontext, IPrincipal _principal)
 {
     context   = APIcontext;
     principal = _principal as ClaimsPrincipal;
     helper    = new Helper(_principal);
 }
コード例 #14
0
 public TemplateRepository(WebApisContext APIcontext) : base(APIcontext)
 {
     _context = APIcontext;
 }