async Task <IReadOnlyList <ContributionCategory> > GetRemoteContributionAreasAsync() { try { return(await api.GetContributionAreas()); } catch (ApiException e) { HandleApiException(e); return(null); } catch (Exception e) { analyticsService.Report(e); return(null); } }
async Task <IReadOnlyList <ContributionCategory> > GetRemoteContributionAreasAsync() { try { return(await api.GetContributionAreas()); //var j = JsonConvert.DeserializeObject<IReadOnlyList<ContributionCategory>>(data); //return j; } catch (ApiException e) { HandleApiException(e); return(null); } catch (Exception e) { analyticsService.Report(e); return(null); } }