[RelayCommand] public async Task SearchButtonPressed() { await UpdateCurrentData(); await HomeVM.UpdateWeeklyData(SearchBoxText); }
public MainViewModel() { HomeVM = new HomeViewModel(); CurrentView = HomeVM; UpdateCommand = new AsyncRelayCommand(SearchButtonPressed); }