Beispiel #1
0
        public BasicReportData GetSiteSummary()
        {
            int assessmentId = Auth.AssessmentForUser();

            ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId);
            BasicReportData    data = new BasicReportData();

            data.genSalTable                   = reportsDataManager.GetGenSals();
            data.information                   = reportsDataManager.GetInformation();
            data.salTable                      = reportsDataManager.GetSals();
            data.nistTypes                     = reportsDataManager.GetNistInfoTypes();
            data.nistSalTable                  = reportsDataManager.GetNistSals();
            data.DocumentLibraryTable          = reportsDataManager.GetDocumentLibrary();
            data.RankedQuestionsTable          = reportsDataManager.GetRankedQuestions();
            data.FinancialQuestionsTable       = reportsDataManager.GetFinancialQuestions();
            data.QuestionsWithComments         = reportsDataManager.GetQuestionsWithComments();
            data.QuestionsMarkedForReview      = reportsDataManager.GetQuestionsMarkedForReview();
            data.QuestionsWithAlternateJustifi = reportsDataManager.GetQuestionsWithAlternateJustification();
            return(data);
        }
Beispiel #2
0
        public BasicReportData GetDetail()
        {
            int assessmentId = Auth.AssessmentForUser();

            ReportsDataManager reportsDataManager = new ReportsDataManager(assessmentId);
            BasicReportData    data = new BasicReportData();

            data.genSalTable              = reportsDataManager.GetGenSals();
            data.information              = reportsDataManager.GetInformation();
            data.salTable                 = reportsDataManager.GetSals();
            data.nistTypes                = reportsDataManager.GetNistInfoTypes();
            data.nistSalTable             = reportsDataManager.GetNistSals();
            data.DocumentLibraryTable     = reportsDataManager.GetDocumentLibrary();
            data.RankedQuestionsTable     = reportsDataManager.GetRankedQuestions();
            data.QuestionsWithComments    = reportsDataManager.GetQuestionsWithComments();
            data.QuestionsMarkedForReview = reportsDataManager.GetQuestionsMarkedForReview();
            data.QuestionsWithAltJust     = reportsDataManager.GetQuestionsWithAlternateJustification();
            data.StandardsQuestions       = reportsDataManager.GetQuestionsForEachStandard();
            data.ComponentQuestions       = reportsDataManager.GetComponentQuestions();
            return(data);
        }