public GetSessionRs CallGetSession(GetSessionRq request) { string serviceUrl = ServiceURL.ipServer + ServiceURL.getSessionUrl; String resJSON = CallServices.callPost(serviceUrl, request); return(JObject.Parse(resJSON).ToObject <GetSessionRs>()); }
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); }
public GetSessionRq getGetSessionRq(Member input) { GetSessionRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <GetSessionRq>(); return(ret); }