public string rawStringResponse(string lonX, string latY, string distance) { string Url = UrlBuilder.StopUrlBuilder(lonX, latY, distance); string rawString = _apiRequest.DoRequest(Url); return(rawString); }
public List <TransportLines> GetRoutesDetails(string urlEnd) { if (!string.IsNullOrEmpty(urlEnd)) { string url = UrlBuilder.LinesUrlBuilder(urlEnd); string detailFromServer = _request.DoRequest(url); return(JsonConvert.DeserializeObject <List <TransportLines> >(detailFromServer)); } else { return(new List <TransportLines>()); } }