public void CreateReport(ReportEmail reportEmail, string id)
        {
            if (ModelState.IsValid)
            {
                IAsyncCommand emailer = new ReportEmailer(reportEmail).AsAsync(id, _container);

                emailer.Start();
            }
        }
 public ReportEmailer(ReportEmail reportEmail)
 {
     _reportEmail = reportEmail;
 }