public AscamCAMContactSearchResponseAPI CAMContactSearch(Camcontactcriteria camcontactcriteria) { var result = new AscamCAMContactSearchResponseAPI(); var pdscamcontactsearch = new pdscamcontactsearchDataSet(); DataRow ttblcamcontactcriteriaCriteria = pdscamcontactsearch.ttblcamcontactcriteria.NewttblcamcontactcriteriaRow(); Camcontactcriteria.UpdateRowFromCamcontactcriteria(ref ttblcamcontactcriteriaCriteria, camcontactcriteria); pdscamcontactsearch.ttblcamcontactcriteria.AddttblcamcontactcriteriaRow((pdscamcontactsearchDataSet.ttblcamcontactcriteriaRow)ttblcamcontactcriteriaCriteria); bool lMoreRecords = false; string cErrorMessage = string.Empty; NLogLoggerP.Trace("CAMContactSearch - Ascam - Before Call"); StopwatchUtil.Time( () => { using (var poAscamproxy = this.proxyAppObject.CreatePO_ascamproxy()) { this.SetRequiredContextParameters(); poAscamproxy.CAMContactSearch(ref pdsContext, ref pdscamcontactsearch, out lMoreRecords, out cErrorMessage); } }); NLogLoggerP.Info("CAMContactSearch - Ascam - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdscamcontactsearch); foreach (DataRow row in pdscamcontactsearch.ttblcamcontactsearchlist) { result.camcontactsearchlist.Add(Camcontactsearchlist.BuildCamcontactsearchlistFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public AscamCAMContactSearchResponseAPI CAMContactSearch(Camcontactcriteria camcontactcriteria) { return(this.repository.CAMContactSearch(camcontactcriteria)); }
public AscamCAMContactSearchResponseAPI CAMContactSearch(Camcontactcriteria camcontactcriteria) { return(this.adapter.CAMContactSearch(camcontactcriteria)); }