Ejemplo n.º 1
0
 public UserRepository(SampleContext context)
 {
     this.context = context;
 }
Ejemplo n.º 2
0
 public BaseRepository(SampleContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
Ejemplo n.º 3
0
 public UnitOfWork(SampleContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public SubscriptionRepository(SampleContext context)
 {
     this.context = context;
 }