public UIReturn getServices(Branch b) { GetServiceRq req = UserActionService.getInstance().getGetServiceRq(b); GetServiceRs res = UserActionService.getInstance().getServices(req); UIReturn ret = new UIReturn(res.header); ret.returnObject = res.services; return(ret); }
public UIReturn openService(Branch b, GroupService g, String counterNumber) { if (String.IsNullOrEmpty(counterNumber)) { return(Constants.uiErrorEmptyCounterNumber); } OpenServiceRq req = UserActionService.getInstance().getOpenServiceRq(b, g, counterNumber); OpenServiceRs res = UserActionService.getInstance().openService(req); UIReturn ret = new UIReturn(res.header); return(ret); }