public Referrer[] Find(ReferrerSearchCriteria criteria) { using (var proxy = GetProxy()) { return(proxy.Channel.FindReferrer(criteria).ToArray()); } }
public Referrer[] Find(ReferrerSearchCriteria criteria) { List <Referrer> referrers = new List <Referrer>(_directoryServiceAgent.Find(criteria)); return(OutputValidationUtility.Encode <Referrer>(referrers).ToArray()); }