ClientRepository/RestfulClient.cs
/// <summary>
/// get as an asynchronous operation.
/// </summary>
/// <param name="ids">The ids.</param>
/// <returns>Task&lt;IEnumerable&lt;Ad&gt;&gt;.</returns>
get as an asynchronous operation.
get as an asynchronous operation .
public async Task<IEnumerable<Ad>> GetAsync(IEnumerable<long> ids)
        {
            var uri = new Uri(CloudConfigurationManager.GetSetting(Settings.TestApiUri));
            var config = new HttpConfiguration(uri, "api/ad", HttpRequest.Get);
            return await this.restClient.GetAsync(config, LoadAds);
        }
public async Task < IEnumerable < Ad > > GetAsync ( IEnumerable < long > ids ) { var uri = new Uri ( CloudConfigurationManager . GetSetting ( Settings . TestApiUri ) ) ; var config = new HttpConfiguration ( uri , " " , HttpRequest . Get ) ; return await this . restClient . GetAsync ( config , LoadAds ) ; }
get as an asynchronous operation.
get as an asynchronous operation .
None
ids
IEnumerable<long>
None