public UnitOfWork(BustleContext scapelContext, IUserProfileRepository userProfileRepository, ISubscriptionRepository subscriptionRepository ) { this._context = scapelContext; this.UserProfiles = userProfileRepository; this.Subscriptions = subscriptionRepository; }
public UnitOfWork(BustleContext bustleContext, IUserProfileRepository userProfileRepository, ISubscriptionRepository subscriptionRepository, IInventoryRepository InventoryRepository, ICartRepository cartRepository, IShoppingListRepository shoppingRepository ) { this._context = bustleContext; this.UserProfiles = userProfileRepository; this.Subscriptions = subscriptionRepository; this.Inventories = InventoryRepository; this.Carts = cartRepository; this.ShoppingLists = shoppingRepository; }
protected GenericRepository(BustleContext context) { _context = context; }
public SubscriptionRepository(BustleContext context) : base(context) { }
public InventoryRepository(BustleContext context) : base(context) { }
public TagRepository(BustleContext context) : base(context) { }
public UserProfileRepository(BustleContext context, IOptions<Configurations> config) : base(context) { this.config = config; }
public CartRepository(BustleContext context) : base(context) { }