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