private async void DoFavCommand() { if (this.CurrentStation != null) { IsFav = true; await _favStationService.Add(this.CurrentStation); //Messenger.Default.Send<string>("FavChanged", "FavChanged"); SimpleIoc.Default.GetInstance <MainViewModel>().FavChangedReceived(string.Empty); } }
internal async void AddFavStation(Station station) { var favList = await _favStationService.Add(station); SetFavStations(favList); }