public IProgressItem StartExportData()
        {
            if (!CRMSecurity.IsAdmin)
            {
                throw new Exception();
            }

            return(ExportToCSV.Start());
        }
Exemplo n.º 2
0
        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());
        }
Exemplo n.º 4
0
        public IProgressItem StartExportData()
        {
            if (!CRMSecurity.IsAdmin)
            {
                throw new Exception();
            }

            MessageService.Send(HttpContext.Current.Request, MessageAction.CrmAllDataExported);

            return(ExportToCSV.Start());
        }