public GenericRepository() { this.context = new AppdbEntities(); this.dbSet = context.Set <TEntity>(); }
public GenericRepository(AppdbEntities context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public GenericRepository() { this.context = new AppdbEntities(); this.dbSet = context.Set <TEntity>(); }
public GenericRepository(AppdbEntities context) { this.context = context; this.dbSet = context.Set <TEntity>(); }