public GetBranchServicesRs CallGetBranchServices(GetBranchServicesRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getBranchServicesUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <GetBranchServicesRs>());
        }
        public UIReturn getBranchQueue(Branch input)
        {
            Branch inputBranch      = TempDB.branches.Find(s => s.branchID == input.branchID);
            GetBranchServicesRq req = ReserveQueueService.getInstance().getBranchServicesRq(inputBranch);
            GetBranchServicesRs res = ReserveQueueService.getInstance().CallGetBranchServices(req);

            SessionModel.services = res.services;

            return(getUIReturnServices(res.services));
        }
        public GetBranchServicesRs CallGetBranchServices()
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getBranchServicesUrl;

            GetBranchServicesRq postData = new GetBranchServicesRq();

            postData.branchID = "";

            String resJSON = CallServices.callPost(serviceUrl, postData);

            return(JObject.Parse(resJSON).ToObject <GetBranchServicesRs>());
        }
        public GetBranchServicesRq getBranchServicesRq(Branch input)
        {
            GetBranchServicesRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <GetBranchServicesRq>();

            return(ret);
        }