public IEnumerable <Crecreconcile> CRECClearReset(AscrentryCRECClearResetRequestAPI AscrentryCRECClearResetRequestAPI) { var results = new List <Crecreconcile>(); var pdscrec = new pdscrecDataSet(); string cErrorMessage = string.Empty; foreach (var obj in AscrentryCRECClearResetRequestAPI.crecreconcile) { DataRow ttblcrecreconcileRow = pdscrec.ttblcrecreconcile.NewttblcrecreconcileRow(); Crecreconcile.UpdateRowFromCrecreconcile(ref ttblcrecreconcileRow, obj); pdscrec.ttblcrecreconcile.AddttblcrecreconcileRow((pdscrecDataSet.ttblcrecreconcileRow)ttblcrecreconcileRow); } var cClearResetType = AscrentryCRECClearResetRequestAPI.cClearResetType; var dtcleared = AscrentryCRECClearResetRequestAPI.dtcleared; NLogLoggerP.Trace("CRECClearReset - Ascrentry - Before Call"); StopwatchUtil.Time( () => { using (var poAscrentryproxy = this.proxyAppObject.CreatePO_ascrentryproxy()) { this.SetRequiredContextParameters(); poAscrentryproxy.CRECClearReset(ref pdsContext, cClearResetType, dtcleared ?? DateTime.MinValue, ref pdscrec, out cErrorMessage); } }); NLogLoggerP.Info("CRECClearReset - Ascrentry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdscrec); foreach (DataRow row in pdscrec.ttblcrecreconcile) { results.Add(Crecreconcile.BuildCrecreconcileFromRow(row)); } return(results); }
public IEnumerable<Crecreconcile> CRECClearReset(AscrentryCRECClearResetRequestAPI AscrentryCRECClearResetRequestAPI) { return this.repository.CRECClearReset(AscrentryCRECClearResetRequestAPI); }
public IEnumerable <Crecreconcile> CRECClearReset(AscrentryCRECClearResetRequestAPI AscrentryCRECClearResetRequestAPI) { return(this.adapter.CRECClearReset(AscrentryCRECClearResetRequestAPI)); }