public string GenerateDailyReport() { if (!_staff.IsOwner()) { return("Not Authorised to view report."); } if (_reportGenerator == null) { _reportGenerator = new ReportGenerator(); } return(_reportGenerator.GenerateDailyReport()); }
public string GenerateDailyReport() { if (!_staff.IsOwner()) { return("Not Authorised to view report."); } if (_reportGenerator == null) { _reportGenerator = new ReportGenerator(); } return(_reportGenerator.GenerateDailyReport()); }