/* * ******** * METHODS * ******** */ public async Task<bool> LoadData() { await FavoritesController.Initialize(); if (IsDataLoaded()) { return true; } int added = await TodayCollection.BuildAndFetch(); if (added > 0) { return true; } return false; }
/// <summary> /// Initialize the favorite quotes collection from the FavoritesController /// </summary> /// <returns></returns> public async Task<bool> InitalizeFavorites() { return await FavoritesController.Initialize(); }