public IEnumerable <FileRetent> GetTWLFileRetentions(int batchsize = 0, string fldlist = "") { var getTWLFileRetentionsApi = new GetTWLFileRetentionsApi() { batchsize = batchsize, fldlist = fldlist }; return(this.fileRetentService.GetTWLFileRetentions(getTWLFileRetentionsApi)); }
public IEnumerable <FileRetent> GetTWLFileRetentions(GetTWLFileRetentionsApi getTWLFileRetentionsApi) { var sb = new StringBuilder(); if (!string.IsNullOrWhiteSpace(getTWLFileRetentionsApi.fileName)) { sb.AppendFormatWithEscape("file_retent.file_name = '{0}'", getTWLFileRetentionsApi.fileName); } var where = sb.ToString(); return(this.fileRetentRepository.GetList(where, getTWLFileRetentionsApi.batchsize, getTWLFileRetentionsApi.fldlist)); }
public IEnumerable <FileRetent> GetTWLFileRetentions(GetTWLFileRetentionsApi getTWLFileRetentionsApi) { return(this.fileRetentService.GetTWLFileRetentions(getTWLFileRetentionsApi)); }