BeerDrinkin.DataStore.Azure.BarcodeService.LookupBarcode C# (CSharp) Метод

LookupBarcode() публичный Метод

public LookupBarcode ( string upc ) : Task>
upc string
Результат Task>
        public async Task<List<Beer>> LookupBarcode(string upc)
        {
            if (azure == null)
                throw new NullReferenceException("Azure client is null");
            
            var parameters = new Dictionary<string, string>();
            parameters.Add("upc", upc);

            return await azure.Client.InvokeApiAsync<List<Beer>>("Search", HttpMethod.Get, parameters);
        }
    }