protected GenericRepository(CambioDivisasContext context, IJsonConverter <T> converter) { this._jsonConverter = converter; this._divisasContext = context; this._table = context.Set <T>(); }
protected GenericRepository() { this._jsonConverter = new JsonConverter <T>(); this._divisasContext = new CambioDivisasContext(); this._table = this._divisasContext.Set <T>(); }