public virtual async Task <TEntity> UpdateAsync(TEntity entity, CancellationToken cancellationToken) { entity = await Store.UpdateAsync(entity, cancellationToken); return(entity); }
/// <summary> /// Atualiza registros da tabela por entity /// </summary> public async Task <IEnumerable <TModel> > UpdateAsync(params TModel[] entity) { return(await _store.UpdateAsync(CancellationToken, entity)); }