private async Task <ObservableCollection <RoomsRepoCollectionSchema> > LoadData() { var items = await _jsonDataSource.LoadRemote <RoomsRepoCollectionSchema[]>(string.Format(DataServiceUrl, "7722", "19c0e10c-8899-4903-a94b-2502963689cf", "RoomsRepoCollection")); return(items != null ? new ObservableCollection <RoomsRepoCollectionSchema>(items.OrderBy(i => i.Title)) : new ObservableCollection <RoomsRepoCollectionSchema>()); }
private async Task <ObservableCollection <TheNextOneSchema> > LoadData() { var items = await _jsonDataSource.LoadRemote <TheNextOneSchema[]>(string.Format(DataServiceUrl, "18484", "ac2d4de4-fb44-4f54-9847-2adca862706b", "TheNextOneCollection")); return(items != null ? new ObservableCollection <TheNextOneSchema>(items.OrderBy(i => i.Title)) : new ObservableCollection <TheNextOneSchema>()); }