private List <IFavorite> MergeWithNewTodays(SortableList <IFavorite> oldTodays) { List <IFavorite> newTodays = this.GetDateItems(HistoryIntervals.TODAY); if (oldTodays != null) { newTodays = DataDispatcher.GetMissingFavorites(newTodays, oldTodays); } return(newTodays); }
private List <FavoriteConfigurationElement> MergeWithNewTodays( SortableList <FavoriteConfigurationElement> oldTodays) { List <FavoriteConfigurationElement> newTodays = this.GetDateItems(HistoryByFavorite.TODAY); if (oldTodays != null) { newTodays = DataDispatcher.GetMissingFavorites(newTodays, oldTodays); } return(newTodays); }