private async void AddStewardess() { try { var result = await _service.AddAsync(SelectedStewardess); Stewardesses.Insert(0, result); } catch (System.InvalidOperationException ex) { await _dialogService.ShowMessage(ex.Message, "Error"); } }
private async void AddStewardess() { try { var result = await _service.AddAsync(SelectedStewardess); Stewardesses.Insert(0, result); } catch (System.InvalidOperationException ex) { await _dialogService.ShowMessage(ex.Message, "Error"); } }