private async void loadAsyncData(object sender, object e) { GposApi <List <RestaurantOrder> > gposApi = new GposApi <List <RestaurantOrder> >(); var result = await gposApi.GetAsync("SaleOrders"); foodOrdersList.ItemsSource = result; }
private async void loadAsyncData(object sender, object e) { GposApi <List <WaitingCustomer> > gposApi = new GposApi <List <WaitingCustomer> >(); var result = await gposApi.GetAsync("signIns"); //restApi.getCustomersAsync(); signinList.ItemsSource = result; timeLbl.Text = getCurrentTime(); }