Ejemplo n.º 1
0
 private void FillDropDowns(AssessmentViewModel model)
 {
     siteUser                        = ((SiteUser)Session["SiteUser"]);
     commonService                   = new CommonService(siteUser, db);
     assessmentService               = new AssessmentService(siteUser, db);
     model.AssessmentTypes           = commonService.GetAssessmentType();
     model.Subjects                  = commonService.GetSubjects();
     model.SchoolYears               = commonService.GetSchoolYear();
     model.SchoolTerms               = commonService.GetSchoolTerm();
     model.SLOAssessmentTemplates    = assessmentService.GetAssessmentTemplate(SystemParameter.AssessmentTemplateType.SLO);
     model.RubricAssessmentTemplates = assessmentService.GetAssessmentTemplate(SystemParameter.AssessmentTemplateType.Rubric);
 }