public GeneralRepository(storeapplicationContext _context) { this._context = _context; table = _context.Set <T>(); }
public GeneralRepository() { this._context = new storeapplicationContext(); table = _context.Set <T>(); }