src/fursvp.data/FakeRepository.cs
/// <summary>
/// Persists a new document representing TEntity to memory.
/// </summary>
/// <param name="entity">The entity to persist to memory.</param>
/// <returns>An asynchronous <see cref="Task{TEntity}"/>.</returns>
Persists a new document representing TEntity to memory.
Persists a new document representing TEntity to memory .
public Task Insert(TEntity entity)
        {
            Entities.Add(entity);
            return Task.CompletedTask;
        }
public Task Insert ( TEntity entity ) { Entities . Add ( entity ) ; return Task . CompletedTask ; }
Persists a new document representing TEntity to memory.
Persists a new document representing TEntity to memory .
An asynchronous .
An asynchronous .
entity
TEntity
The entity to persist to memory.
The entity to persist to memory .