public Report MakeReport(IReportBuilder reportBuilder) { reportBuilder.SetReportHeader(); reportBuilder.SetReportBody(); reportBuilder.SetReportFooter(); return(reportBuilder.GetReport()); }
async Task <ReportModel> IReportDirector.MakeReport(IReportBuilder reportBuilder, ReportModel reportModel) { await reportBuilder.CreateNewReport(reportModel); await reportBuilder.SetReportType(); await reportBuilder.SetReportHeader(); await reportBuilder.SetReportContent(); await reportBuilder.SetReportFooter(); return(await reportBuilder.GetReport()); }