public IEnumerable <Wlal> GetWlalByLocationDescription(GetWlalByLocationDescriptionApi getWlalByLocationDescriptionApi) { var where = new StringBuilder(); if (!string.IsNullOrWhiteSpace(getWlalByLocationDescriptionApi.wlloc)) { where.AppendFormatWithEscape(" wlal.wlloc BEGINS '{0}'", getWlalByLocationDescriptionApi.wlloc); } if (!string.IsNullOrWhiteSpace(getWlalByLocationDescriptionApi.descrip)) { if (!string.IsNullOrEmpty(where.ToString())) { where.Append(" AND "); } where.AppendFormatWithEscape(" wlal.descrip BEGINS '{0}'", getWlalByLocationDescriptionApi.descrip); } return(this.wlalRepository.GetList(where.ToString(), getWlalByLocationDescriptionApi.batchsize, getWlalByLocationDescriptionApi.fldlist)); }
public IEnumerable <Wlal> GetWlalByLocationDescription(GetWlalByLocationDescriptionApi getWlalByLocationDescriptionApi) { return(this.wlalService.GetWlalByLocationDescription(getWlalByLocationDescriptionApi)); }