public List <Account> GetAccountList(List <string> ownerIds) { if (ownerIds == null || ownerIds.Count == 0) { return(null); } else { byte[] list = RemoteHelper.GetAccountList(ownerIds.ToArray()); return(We7Helper.BytesToObject(list) as List <Account>); } }
public List <Account> GetAccountList(Criteria c, Order[] o, int begin, int count) { byte[] list = RemoteHelper.GetAccountList(c, o, begin, count); return(We7Helper.BytesToObject(list) as List <Account>); }