public IProgressItem StartExportData() { if (!CRMSecurity.IsAdmin) { throw new Exception(); } return(ExportToCSV.Start()); }
public IProgressItem StartExportData() { if (!CRMSecurity.IsAdmin) { throw CRMSecurity.CreateSecurityException(); } MessageService.Send(Request, MessageAction.CrmAllDataExported); return(ExportToCSV.Start()); }
public IProgressItem StartExportData() { if (!CRMSecurity.IsAdmin) { throw new Exception(); } AdminLog.PostAction("CRM Settings: started crm data export"); return(ExportToCSV.Start()); }
public IProgressItem StartExportData() { if (!CRMSecurity.IsAdmin) { throw new Exception(); } MessageService.Send(HttpContext.Current.Request, MessageAction.CrmAllDataExported); return(ExportToCSV.Start()); }