public UnitOfWork(AppleDbContext db) { _db = db; Category = new CategorySql(_db); ProductType = new ProductTypeSql(_db); Catalog = new CatalogSql(_db); ApplicationUser = new ApplicationUserSql(_db); ShoppingCart = new ShoppingCartSql(_db); OrderHeader = new OrderHeaderSql(_db); OrderDetails = new OrderDetailsSql(_db); }
public OrderDetailsSql(AppleDbContext db) : base(db) { _db = db; }
public ShoppingCartSql(AppleDbContext db) : base(db) { this.db = db; }
public ProductTypeSql(AppleDbContext db) : base(db) { this.db = db; }
public OrderHeaderSql(AppleDbContext db) : base(db) { _db = db; }
public CatalogSql(AppleDbContext db) : base(db) { this.db = db; }
public CategorySql(AppleDbContext db) : base(db) { this.db = db; }
public ManageProductServices( AppleDbContext context, IStorageServices storageServices) { _context = context; _storageService = storageServices; }
public ApplicationUserSql(AppleDbContext db) : base(db) { this.db = db; }
public DbCreate(AppleDbContext db, UserManager <IdentityUser> userManager, RoleManager <IdentityRole> roleManager) { this.db = db; this.userManager = userManager; this.roleManager = roleManager; }
public PublicProductServices(AppleDbContext context) { _context = context; }