public IEnumerable <Sassr> ListSassrsByKeys(ListSassrsByKeysRequestApi criteria) { var where = new StringBuilder(); if (string.IsNullOrWhiteSpace(criteria.currproc)) { criteria.currproc = ""; } where.AppendFormatWithEscape("sassr.currproc begins '{0}'", criteria.currproc); if (!string.IsNullOrEmpty(criteria.trmgrlang)) { where.AppendFormatWithEscape(" AND sarsr.trmgrlang = '{0}'", criteria.trmgrlang); } return(this.sassrRepository.GetList(where.ToString(), criteria.batchsize, criteria.fldlist)); }
public IEnumerable <Sassr> ListSassrsByKeys(ListSassrsByKeysRequestApi criteria) { return(this.sassrService.ListSassrsByKeys(criteria)); }