/// <summary> /// Get all sources. /// </summary> /// <returns>A list of sources</returns> public async Task <List <Source> > FindSourcesAsync() { return((await _service.GetSourcesAsync())._Sources); }
/// <summary> /// Get all sources. /// </summary> /// <returns>A list of sources</returns> public async Task <List <Source> > FindSources() { return(await _service.GetSourcesAsync().ContinueWith(t => t.Result._Sources)); }
/// <summary> /// Get all sources. /// </summary> /// <returns>A list of sources</returns> public async Task <List <Source> > FindSourcesAsync() { var response = await _service.GetSourcesAsync().ConfigureAwait(false); return(response._Sources); }