Ejemplo n.º 1
0
        public async void getbeerkegs()
        {
            objRest = new RESThandler(@"http://threefatpigs.azurewebsites.net/api/BeerKegs");
            var Response = await objRest.ExecuteRequestAsync();

            TFP = Response;

            Console.WriteLine(Response);

            LVbeer.Adapter = new DataAdapter(this, Response);
        }
Ejemplo n.º 2
0
        public async void Searchbeerkegs()
        {
            objRest = new RESThandler(@"http://threefatpigs.azurewebsites.net/api/BeerKegs");
            var Response = await objRest.ExecuteRequestAsync();

            TFP = Response.FindAll(b => b.Barcode == Barcode || b.City == City);

            Console.WriteLine(Response);

            LVbeer.Adapter = new DataAdapter(this, TFP);
        }