public HttpResponseMessage Start(StartingRecord record) { string query = QueryStringConstants.MakeStartQueryString(record); HttpResponseMessage msg = host.GetAsync(query).GetAwaiter().GetResult(); return(msg); }
public HttpResponseMessage RemoveFromQueue(StartingRecord record) { return(host.GetAsync(QueryStringConstants.MakeRemoveFromQueueQueryString(record)).GetAwaiter().GetResult()); }
public static string MakeRemoveFromQueueQueryString(StartingRecord rec) { return(String.Format(REMOVE_FROM_QUEUE, rec.davcnastevilka, rec.company_year, rec.oznaka, rec.recno, rec.datum_vnosa)); }
public static string MakeStartQueryString(StartingRecord rec) { return(String.Format(START_QUERY, rec.davcnastevilka, rec.company_year, rec.oznaka, rec.recno, rec.datum_vnosa)); }