public CallQueueRs callQueue(CallQueueRq request) { string serviceUrl = ServiceURL.ipServer + ServiceURL.userCallQueueUrl; String resJSON = CallServices.callPost(serviceUrl, request); return(JObject.Parse(resJSON).ToObject <CallQueueRs>()); }
public CallQueueRq getCallQueueRq(Branch branch, GroupService g) { CallQueueRq ret = new CallQueueRq(); ret.branchID = branch.branchID; ret.userCode = UserSessionModel.loginUser.userCode; ret.groupID = g.groupID; return(ret); }
public UIReturn callQueue(Branch b, GroupService g) { CallQueueRq req = UserActionQueueService.getInstance().getCallQueueRq(b, g); CallQueueRs res = UserActionQueueService.getInstance().callQueue(req); UIReturn ret = new UIReturn(res.header); ret.returnObject = res; return(ret); }