public UserRepository(SampleContext context) { this.context = context; }
public BaseRepository(SampleContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork(SampleContext context) { _context = context; }
public SubscriptionRepository(SampleContext context) { this.context = context; }