private GetAgreementByAgreementIdMobileResponse getAgreement(GetAgreementByAgreementIdMobileRequest agreementByAgreementIdMobileRequest, string token) { AgreementController agreementController = new AgreementController(); GetAgreementByAgreementIdMobileResponse response = null; try { response = agreementController.getAgreement(agreementByAgreementIdMobileRequest, token, 0); } catch (Exception ex) { throw ex; } return(response); }
private GetAgreementByAgreementIdMobileResponse getAgreement(GetAgreementByAgreementIdMobileRequest agreementByAgreementIdMobileRequest, string token, int vehicleId) { AgreementController agreementController = new AgreementController(); GetAgreementByAgreementIdMobileResponse response = null; try { response = agreementController.getAgreement(agreementByAgreementIdMobileRequest, token, vehicleId); //getVehicleDetailsMobile = vehicleController.getVehicleTypesMobile(token); //foreach(VehicleTypeMobileResult vtmr in getVehicleDetailsMobile.listVehicle) //{ // if(vtmr.ve) //} } catch (Exception ex) { throw ex; } return(response); }