示例#1
0
        public MaturityBasicReportData GetAssessmentInformation()
        {
            int assessmentId = Auth.AssessmentForUser();
            ReportsDataManager      reportsDataManager = new ReportsDataManager(assessmentId);
            MaturityBasicReportData data = new MaturityBasicReportData();

            data.information = reportsDataManager.GetInformation();
            return(data);
        }
示例#2
0
        public MaturityBasicReportData GetDeficiencyList()
        {
            int assessmentId = Auth.AssessmentForUser();
            ReportsDataManager      reportsDataManager = new ReportsDataManager(assessmentId);
            MaturityBasicReportData data = new MaturityBasicReportData();

            data.DeficiencesList = reportsDataManager.getMaturityDeficiences("ACET");
            data.information     = reportsDataManager.GetInformation();
            return(data);
        }
示例#3
0
        public MaturityBasicReportData GetCommentsMarked(string maturity)
        {
            int assessmentId = Auth.AssessmentForUser();
            ReportsDataManager      reportsDataManager = new ReportsDataManager(assessmentId);
            MaturityBasicReportData data = new MaturityBasicReportData();

            data.Comments            = reportsDataManager.getCommentsList(maturity);
            data.MarkedForReviewList = reportsDataManager.getMarkedForReviewList(maturity);
            data.information         = reportsDataManager.GetInformation();
            return(data);
        }
示例#4
0
 public IHttpActionResult GetDeficiencyList([FromUri] string maturity)
 {
     try
     {
         int assessmentId = Auth.AssessmentForUser();
         ReportsDataManager      reportsDataManager = new ReportsDataManager(assessmentId);
         MaturityBasicReportData data = new MaturityBasicReportData();
         data.DeficiencesList = reportsDataManager.getMaturityDeficiences(maturity);
         data.information     = reportsDataManager.GetInformation();
         return(Ok(data));
     }
     catch (Exception ex)
     {
         return(Ok());
     }
 }