public HomePageDetail() { InitializeComponent(); customerId = (int)Application.Current.Properties["CustomerId"]; _token = Application.Current.Properties["currentToken"].ToString(); registrationDBModelRequest = new GetReservationAgreementMobileRequest(); registrationDBModelRequest.customerId = customerId; registrationDBModelResponse = null; registrationDBModel = null; agreementIdMobileResponse = null; agreementIdMobileRequest = new GetAgreementByAgreementIdMobileRequest(); getAgreementByCustomerIdMobileRequest = new getAgreementByCustomerIdMobileRequest(); getAgreementByCustomerIdMobileRequest.customerId = customerId; customerAgreementModels = null; lastAgreementId = 0; lastAgreementStatus = null; reservationByIDMobileRequest = new GetReservationByIDMobileRequest(); isreservation = false; isAgreement = false; agreementId = 0; vehicleId = 0; isAgreeRefreshed = false; // BooknowBtn.BackgroundColor = (Color)App.Current.Properties["MaxVonYellow"]; }
private GetAgreementByCustomerIdMobileResponse getAgreementMobile(getAgreementByCustomerIdMobileRequest getAgreementByCustomerIdMobileRequest, string token) { AgreementController agreementController = new AgreementController(); GetAgreementByCustomerIdMobileResponse response; try { response = agreementController.getAgreementMobile(getAgreementByCustomerIdMobileRequest, token); } catch (Exception ex) { throw ex; } return(response); }
public HomePageDetail() { InitializeComponent(); customerId = (int)Application.Current.Properties["CustomerId"]; _token = Application.Current.Properties["currentToken"].ToString(); registrationDBModelRequest = new GetReservationAgreementMobileRequest(); registrationDBModelRequest.customerId = customerId; registrationDBModelResponse = null; registrationDBModel = null; agreementIdMobileResponse = null; agreementIdMobileRequest = new GetAgreementByAgreementIdMobileRequest(); getAgreementByCustomerIdMobileRequest = new getAgreementByCustomerIdMobileRequest(); getAgreementByCustomerIdMobileRequest.customerId = customerId; customerAgreementModels = null; lastAgreementId = 0; lastAgreementStatus = null; reservationByIDMobileRequest = new GetReservationByIDMobileRequest(); isreservation = false; isAgreement = false; agreementId = 0; vehicleId = 0; isAgreeRefreshed = false; estTime = DateTime.Now; request = new ExtendAgreementRequest(); response = null; overDueBalanceViewModel = new OverDueBalanceViewModel(); ICommand refreshCommand = new Command(() => { refreshView.IsRefreshing = true; this.OnAppearing(); refreshView.IsRefreshing = false; }); refreshView.Command = refreshCommand; // BooknowBtn.BackgroundColor = (Color)App.Current.Properties["MaxVonYellow"]; }
public MyRentals() { InitializeComponent(); customerId = (int)App.Current.Properties["CustomerId"]; token = App.Current.Properties["currentToken"].ToString(); // agreementResponse = null; getAgreementByCustomerIdMobileRequest = new getAgreementByCustomerIdMobileRequest(); getAgreementByCustomerIdMobileRequest.customerId = customerId; filters = new List <string>(); filters.Add("Agreement number"); filters.Add("Check-Out location"); filters.Add("Check-In location"); filters.Add("Status"); filterPicker.ItemsSource = filters; var filter_tab = new TapGestureRecognizer(); filter_tab.Tapped += (s, e) => { filterPicker.Focus(); }; filterFrame.GestureRecognizers.Add(filter_tab); }
public GetAgreementByCustomerIdMobileResponse getAgreementMobile(getAgreementByCustomerIdMobileRequest getAgreementByCustomerIdMobileRequest, string token) { throw new NotImplementedException(); }