public async Task UpdateAsync(TEntityDto entity) { await repository.UpdateAsync(Mapper.Map <TEntity>(entity)); }
/// <summary> /// Updates the asynchronous. /// </summary> /// <param name="entity">The entity.</param> public virtual async Task UpdateAsync(TEntityDto entity) { await repository.UpdateAsync(serviceMapper.Map <TEntity>(entity)).ConfigureAwait(false); }