DocSas/PropertyService.Domain/DataBaseContext/PSRepository.cs
/// <summary>
/// add as an asynchronous operation.
/// </summary>
/// <param name="entity">The entity.</param>
/// <returns>Task&lt;System.Boolean&gt;.</returns>
add as an asynchronous operation.
add as an asynchronous operation .
public async Task<bool> AddAsync(IEnumerable<T> entity)
        {
            entity.NullCheck();
            await _entities.AddRangeAsync(entity);
            return await SaveAsync();
        }
public async Task < bool > AddAsync ( IEnumerable < T > entity ) { entity . NullCheck ( ) ; await _entities . AddRangeAsync ( entity ) ; return await SaveAsync ( ) ; }
add as an asynchronous operation.
add as an asynchronous operation .
None
entity
IEnumerable<T>
None