lectionName);
            let result = collection.get(id);

            result.onsuccess = function (e)
            {
                resolve(result.result);
            }
        }
    });

    let result = await request;

    return result;
}</pre>
<ol start="2">
    <li>To use these operations in your C# class, add a method for each operation, and call <code>WaitForReference()</code> in all of them. Here is an example implementation:</li>
</ol>
<pre class="code" language="csharp">public class IndexedDbAc