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;
 }
 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;
 }
 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;
 }
 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);
 }
 public TemplateRepository(WebApisContext APIcontext) : base(APIcontext)
 {
     _context = APIcontext;
 }