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; } }
public void Add(Reports report) { reportDAO.Add(report); }