Exemple #1
0
 public LoginController(SneakerStoreContext context)
 {
     this.context = context;
     accountDao   = new AccountDAO(context);
     customerDao  = new CustomerDAO(context);
     shoesDao     = new ShoesDAO(context);
 }
 public BillController(SneakerStoreContext context)
 {
     this.context  = context;
     importBillDao = new ImportBillDAO(context);
     exportBillDao = new ExportBillDAO(context);
     supplierDao   = new SupplierDAO(context);
     shoesDao      = new ShoesDAO(context);
 }
Exemple #3
0
 public ShoesManageController(SneakerStoreContext context, IHostingEnvironment env)
 {
     this.context  = context;
     this._env     = env;
     shoesDao      = new ShoesDAO(context);
     shoesColorDao = new ShoesColorDAO(context);
     shoesSizeDao  = new ShoesSizeDAO(context);
     priceDao      = new PriceDAO(context);
     imageDao      = new ImageDAO(context);
 }
 public DashboardController(SneakerStoreContext context)
 {
     this.context = context;
     shoesDao     = new ShoesDAO(context);
 }
 public CartController(SneakerStoreContext context)
 {
     this.context  = context;
     shoesDao      = new ShoesDAO(context);
     exportBillDao = new ExportBillDAO(context);
 }