public int SendReports() { IList <Report> reports = reportBuilder.CreateRegularReports(); if (reports.Count == 0) { reportSender.Send(reportBuilder.CreateSpecialReport()); } foreach (Report report in reports) { reportSender.Send(report); } return(reports.Count); }