Example #1
0
 public CommentBl(HydraContext context)
 {
     _productDal = new ProductDataAccess(context);
     _userDal = new UserDataAccess(context);
 }
 public HydraSeeder(HydraContext ctx, IHostingEnvironment hosting)
 {
     this.ctx     = ctx;
     this.hosting = hosting;
 }
Example #3
0
 public CatalogController(HydraContext hydraContext)
 {
     _productBl = new ProductBl(hydraContext);
     _storeBl   = new StoreBl(hydraContext);
 }
Example #4
0
 public StatisticsController(HydraContext hydraContext)
 {
     _hydraContext = hydraContext;
 }
Example #5
0
 public CommentController(HydraContext context)
 {
     _commentBl = new CommentBl(context);
 }
Example #6
0
 public UserController(HydraContext context)
 {
     _userBl = new UserBl(context);
 }
Example #7
0
 public StoreDataAccess(HydraContext hydraContext)
 {
     _hydraContext = hydraContext;
 }
Example #8
0
 public ProductDataAccess(HydraContext hydraContext)
 {
     _hydraContext = hydraContext;
 }
Example #9
0
 public AboutController(HydraContext hydraContext, [FromServices] ISecretSettings secrets)
 {
     _storeBl = new StoreBl(hydraContext);
     _secrets = secrets;
 }
Example #10
0
 public SampleRepository(HydraContext context, ILogger <SampleRepository> logger)
 {
     this.ctx    = context;
     this.logger = logger;
 }
 public RxoRepository(HydraContext context, ILogger <RxoRepository> logger)
 {
     this.context = context;
     this.logger  = logger;
 }
Example #12
0
 public StoreController(HydraContext hydraContext)
 {
     _storeBl = new StoreBl(hydraContext);
 }
Example #13
0
 public UserDataAccess(HydraContext context)
 {
     _context = context;
 }
Example #14
0
 public HomeController(HydraContext hydraContext)
 {
     _productBl = new ProductBl(hydraContext);
 }
Example #15
0
 public StoreBl(HydraContext hydraContext)
 {
     _storeDataAccess = new StoreDataAccess(hydraContext);
 }
Example #16
0
 public UserBl(HydraContext context)
 {
     _userDal = new UserDataAccess(context);
 }
Example #17
0
 public AdminDataAccess(HydraContext hydraContext)
 {
     _hydraContext = hydraContext;
 }
Example #18
0
 public AdminController(IOptions <AppSettings> settings, HydraContext hydraContext)
 {
     _settings        = settings.Value.AdminCredentials;
     _adminDataAccess = new AdminDataAccess(hydraContext);
     _userDataAccess  = new UserDataAccess(hydraContext);
 }
Example #19
0
 public ProductBl(HydraContext hydraContext)
 {
     _productDataAccess = new ProductDataAccess(hydraContext);
 }