public BookstoreRepositoryBase(BookstoreContext context) { _context = context; DbSet = _context.Set <TEntity>(); this.dbCon = _context.Database.GetDbConnection(); }
public BookstoreRepository(BookstoreContext dbContext) { _dbContext = dbContext; }