//public DateTime(int year, int day, int month); private async void getTherapist() { myAPI = RestService.For <IMyAPI>("https://goldenspa.azurewebsites.net"); //DateTime date1 = new DateTime(2020, 4, 6); //var result = await myAPI.GetListDoctor("CN1", date1, "1"); //int i = 0; var result = await myAPI.GetCart("KH1"); int i = 1; }
private async void GetListService() { myAPI = RestService.For <IMyAPI>("https://goldenspa.azurewebsites.net"); var idCustomer = await myAPI.GetIdCustomer("0123456789"); string cus = idCustomer.Substring(2, idCustomer.Length - 4); var result = await myAPI.GetCart(cus); //for (int i = 0; i < result.Count; i++) //{ //} mAdapterService = new ShoppingCardShoppingCart_Service_Customer_Adapter(result); mRecyclerViewService.SetAdapter(mAdapterService); }