protected virtual void Dispose(bool disposing) { if (disposing) { if (this._context != null) { this._context.Dispose(); this._context = null; } } }
public Repository(qrcodeContext context) { this._context = context ?? throw new ArgumentNullException("context"); }