public override async void ExportNetAsync() { using (var db = new TransactionScope()) { var lista = _repositorio.GetAll().Where(x => x.ExportarNet == "S").ToList(); await _api.Salvar(lista); _repositorio.AtualizarTabelaExportada(); db.Complete(); } }