public override async Task ExecuteAsync(object parameter) { try { string avKeyValue = _settingsWindowVM.AlphaVantageKey; string FMPKeyValue = _settingsWindowVM.FMPrepKey; await _settingService.UpdateAPIKeys(avKeyValue, FMPKeyValue); _settingsWindowVM.CloseAction(); } catch (Exception e) { MessageBox.Show(e.Message); } }