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); }
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); }