Ejemplo n.º 1
0
        public BranchGetServicesRs getBranchServices(BranchGetServicesRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.branchGetServiceUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <BranchGetServicesRs>());
        }
Ejemplo n.º 2
0
        public UIReturn getBranchServices()
        {
            BranchGetServicesRq req = BranchActionService.getInstance().getBranchGetServicesRq(BranchSessionModel.loginBranch);
            BranchGetServicesRs res = BranchActionService.getInstance().getBranchServices(req);
            UIReturn            ret = new UIReturn(res.header);

            ret.returnObject = res.services;
            return(ret);
        }
Ejemplo n.º 3
0
        public BranchGetServicesRq getBranchGetServicesRq(Branch input)
        {
            BranchGetServicesRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <BranchGetServicesRq>();

            return(ret);
        }