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