public static SubjectAssessmentOutlines CreateFromController(ReportController controller, int year, string template)
 {
     var outlines = controller.GetSubjects(year).Select(SubjectAssessmentOutline.CreateNew);
     return new SubjectAssessmentOutlines(outlines);
 }
Пример #2
0
        private void UpdateController()
        {
            if (ReportController != null && ReportController.FilePath.Equals(ControllerPath)) return;

            ReportController = new ReportController(ControllerPath);
            if (Standards != null) WriteStandards();
        }