public static MockDataStoreService GetStorage() { if (storage == null) { storage = new MockDataStoreService(); } return(storage); }
public PostsFlowService(string userId) { store = StorageService.GetStorage(); currentProfile = store.Profiles.Where(p => p.UserId == userId).FirstOrDefault(); }