Пример #1
0
 public GenericRepository(PeriodicalsDBContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }
Пример #2
0
 public MoneyAccountRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }
Пример #3
0
 public ThemeRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }
Пример #4
0
 public UnitOfWork()
 {
     _context = new PeriodicalsDBContext();
 }
Пример #5
0
 public SubscriptionRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }
Пример #6
0
 public PaymentRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }