public async Task <List <string> > GetCategories() { List <string> categories = null; string uri = ResourceIdentifier.CategoryUri(); try { string dataString = await _httpService.Get(uri); categories = (List <string>)_converter.FromJson(dataString, typeof(List <string>)); } catch { return(new List <string>()); } return(categories); }