public string GetModelosString(string id) { string modelos; url += id; var response = RequestWS.SendGetRequest(url); try { if (response.statusCode.Equals("OK")) { modelos = response.data; } else { modelos = ""; } } catch (Exception e) { modelos = ""; } return(modelos); }
public string GetVersoesString(string id) { string versoes; url += id; var response = RequestWS.SendGetRequest(url); try { if (response.statusCode.Equals("OK")) { versoes = response.data; } else { versoes = ""; } } catch (Exception e) { versoes = ""; } return(versoes); }
public string GetMarcasString() { string marcas; var response = RequestWS.SendGetRequest(url); try { if (response.statusCode.Equals("OK")) { marcas = response.data; } else { marcas = ""; } } catch (Exception e) { marcas = ""; } return(marcas); }