Ejemplo n.º 1
0
        public RatingRs rating(RatingRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.ratingUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <RatingRs>());
        }
Ejemplo n.º 2
0
        public UIReturn ratingStaff(Queue input)
        {
            RatingRq req = ReserveQueueService.getInstance().getRatingRq(input);
            RatingRs res = ReserveQueueService.getInstance().rating(req);

            if (res.header.isSuccess)
            {
                SessionModel.bookingQ = null;
            }

            UIReturn ret = new UIReturn(res.header);

            return(ret);
        }
Ejemplo n.º 3
0
        public RatingRq getRatingRq(Queue input)
        {
            RatingRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <RatingRq>();

            return(ret);
        }