public static TipStore LoadTipStore(Profile userProfile) { var db = SQLite.GetConnection(userProfile.ID.ToString()); var tipStore = new TipStore(db); if (!tipStore.Any()) { var tips = Serialization.Deserialize <List <Tip> >(ReadTextResource("tips.json")); tips.Shuffle(random); tipStore.Add(tips); } return(tipStore); }