Пример #1
0
        public IEnumerable <Sasst> GetSasstListByZipCodeQuery(GetSasstListByZipCodeQueryRequestApi getSasstListByZipCodeQueryRequestApi)
        {
            var sb = new StringBuilder();

            if (getSasstListByZipCodeQueryRequestApi.zipcd != null)
            {
                sb.AppendFormatWithEscape("sasst.zipcd begins '{0}'", getSasstListByZipCodeQueryRequestApi.zipcd);
            }
            var where = sb.ToString();
            return(this.sasstRepository.GetList(where, getSasstListByZipCodeQueryRequestApi.batchsize, getSasstListByZipCodeQueryRequestApi.fldlist));
        }
Пример #2
0
 public IEnumerable <Sasst> GetSasstListByZipCodeQuery(GetSasstListByZipCodeQueryRequestApi getSasstListByZipCodeQueryRequestApi)
 {
     return(this.sasstService.GetSasstListByZipCodeQuery(getSasstListByZipCodeQueryRequestApi));
 }