public async Task Fechar() { if (!IsBusy) { try { await Tela.FecharModal(); } catch (Exception ex) { await Tela.Alerta(ex?.Message); } } }
public async Task btnVoltar_Click() { if (!IsBusy) { IsBusy = true; try { await Task.Delay(100); await Tela.FecharModal(); } finally { IsBusy = false; } } }