public FinishQueueRs finishQueue(FinishQueueRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.userFinishQueueUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <FinishQueueRs>());
        }
        public UIReturn finishQueue(Queue q)
        {
            FinishQueueRq req = UserActionQueueService.getInstance().getFinishQueueRq(q);
            FinishQueueRs res = UserActionQueueService.getInstance().finishQueue(req);
            UIReturn      ret = new UIReturn(res.header);

            return(ret);
        }
        public FinishQueueRq getFinishQueueRq(Queue input)
        {
            FinishQueueRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <FinishQueueRq>();

            return(ret);
        }