public GenericRepository(EmsDevEntities context) { this._context = context; this._dbSet = context.Set <TEntity>(); }