public void Add(Report report)
 {
     try
     {
         report.Id          = Guid.NewGuid();
         report.Activities  = GetCorrectActivities(report).ToList();
         report.FuturePlans = GetCorrectFuturePlans(report).ToList();
         _reportDAO.Add(report);
     }
     catch (Exception e)
     {
         _customLogger.RecordError(e);
         throw;
     }
 }
Пример #2
0
 public void Add(Reports report)
 {
     reportDAO.Add(report);
 }