예제 #1
0
        public byte[] ExportWebModifications(IEnumerable <string> rowIds)
        {
            var webmodRecords = rowIds.Select(rowId => this._assharedentryRepository.WebModificationRead(new Webmodcriteria {
                webmodRowID = rowId
            })).Where(returnRecord => returnRecord != null).ToList();

            return(webmodRecords.Count > 0 ? ZipClass.Compress(JsonConvert.SerializeObject(webmodRecords)) : null);
        }
예제 #2
0
        public byte[] ExportExtensions(IEnumerable <string> rowIds)
        {
            var webextendRecords = rowIds.Select(rowId => this._assharedinquiryRepository.WebExtensionRetrieve(new Webextendcriteria {
                webextensionrowid = rowId
            })).Where(returnRecord => returnRecord != null).ToList();

            return(webextendRecords.Count > 0 ? ZipClass.Compress(JsonConvert.SerializeObject(webextendRecords)) : null);
        }