Example #1
0
        public GetSessionRs CallGetSession(GetSessionRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getSessionUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <GetSessionRs>());
        }
Example #2
0
        public UIReturn getMemberSession(Member input)
        {
            GetSessionRq req = MemberService.getInstance().getGetSessionRq(input);
            GetSessionRs res = MemberService.getInstance().CallGetSession(req);

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

            UIReturn ret = new UIReturn(res.header);

            return(ret);
        }
Example #3
0
        public GetSessionRq getGetSessionRq(Member input)
        {
            GetSessionRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <GetSessionRq>();

            return(ret);
        }