public void GZLZH(string IDs) { IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { service.GZLZH(IDs); }); }
public void RemoveUser(int userID, int ouID) { IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { service.RemoveUser(userID, ouID); }); }
public void SaveGZLData(YljxflgzlInfo info) { IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { service.SaveGZLData(info); }); }
public void Truncate(string flag) { IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { service.Truncate(flag); }); }
public void DeleteByFlag(string IDs, string flag) { IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { service.DeleteByFlag(IDs, flag); }); }
public List <OUInfo> GetOUsByUser(int userID) { List <OUInfo> result = null; IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { result = service.GetOUsByUser(userID); }); return(result); }
public List <OUInfo> GetGroupCompany() { List <OUInfo> result = null; IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { result = service.GetGroupCompany(); }); return(result); }
public OUInfo GetTopGroup() { OUInfo result = null; IOuService service = this.CreateSubClient(); ICommunicationObject comm = service as ICommunicationObject; comm.Using(client => { result = service.GetTopGroup(); }); return(result); }