Пример #1
0
 public UnitOfWork(BustleContext scapelContext,
                   IUserProfileRepository userProfileRepository, ISubscriptionRepository subscriptionRepository
                   )
 {
     this._context      = scapelContext;
     this.UserProfiles  = userProfileRepository;
     this.Subscriptions = subscriptionRepository;
 }
Пример #2
0
 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;
 }
Пример #3
0
 protected GenericRepository(BustleContext context)
 {
     _context = context;
 }
Пример #4
0
 public SubscriptionRepository(BustleContext context) : base(context)
 {
 }
Пример #5
0
 public InventoryRepository(BustleContext context) : base(context)
 {
 }
Пример #6
0
 public TagRepository(BustleContext context) : base(context)
 {
 }
Пример #7
0
 public UserProfileRepository(BustleContext context, IOptions<Configurations> config) : base(context)
 {
     this.config = config;
 }
Пример #8
0
 public CartRepository(BustleContext context) : base(context)
 {
 }