private void AddRatedItemToCollection(SearchTv tv) { if (LetsWatchItems.ContainsKey(tv.Id)) { LetsWatchItems[tv.Id].Item.Rated = true; } else { LetsWatchItems.Add(tv.Id, new LetsWatchItemViewModel(new LetsWatchItem(tv, rated: true))); } }
private void AddFavoriteItemToCollection(SearchTv tv) { if (LetsWatchItems.ContainsKey(tv.Id)) { LetsWatchItems[tv.Id].Item.Favorite = true; } else { LetsWatchItems.Add(tv.Id, new LetsWatchItemViewModel(new LetsWatchItem(tv, favorite: true))); } }
private void AddRatedItemToCollection(SearchMovie sm) { if (LetsWatchItems.ContainsKey(sm.Id)) { LetsWatchItems[sm.Id].Item.Rated = true; } else { LetsWatchItems.Add(sm.Id, new LetsWatchItemViewModel(new LetsWatchItem(sm, rated: true))); } }
private void AddFavoriteItemToCollection(SearchMovie sm) { if (LetsWatchItems.ContainsKey(sm.Id)) { LetsWatchItems[sm.Id].Item.Favorite = true; } else { LetsWatchItems.Add(sm.Id, new LetsWatchItemViewModel(new LetsWatchItem(sm, favorite: true))); } }