public IProgressItem CancelExport() { if (!_crmSecurity.IsAdmin) { throw _crmSecurity.CreateSecurityException(); } _exportToCsv.Cancel(false); return(_exportToCsv.GetStatus(false)); }
public IProgressItem CancelPartialExport() { ExportToCsv.Cancel(true); return(ExportToCsv.GetStatus(true)); }