コード例 #1
0
        public HttpResponseMessage Start(StartingRecord record)
        {
            string query            = QueryStringConstants.MakeStartQueryString(record);
            HttpResponseMessage msg = host.GetAsync(query).GetAwaiter().GetResult();

            return(msg);
        }
コード例 #2
0
 public HttpResponseMessage RemoveFromQueue(StartingRecord record)
 {
     return(host.GetAsync(QueryStringConstants.MakeRemoveFromQueueQueryString(record)).GetAwaiter().GetResult());
 }
コード例 #3
0
 public static string MakeRemoveFromQueueQueryString(StartingRecord rec)
 {
     return(String.Format(REMOVE_FROM_QUEUE, rec.davcnastevilka, rec.company_year, rec.oznaka, rec.recno, rec.datum_vnosa));
 }
コード例 #4
0
 public static string MakeStartQueryString(StartingRecord rec)
 {
     return(String.Format(START_QUERY, rec.davcnastevilka, rec.company_year, rec.oznaka, rec.recno, rec.datum_vnosa));
 }