示例#1
0
        public IEnumerable <Assessments_For_User> GetMyAssessments()
        {
            // get all Assessments that the current user is associated with
            AssessmentManager assessmentManager = new AssessmentManager();

            return(assessmentManager.GetAssessmentsForUser(TransactionSecurity.CurrentUserId));
        }
示例#2
0
        public void GetAssessmentsForUserTest()
        {
            AssessmentManager manager = new AssessmentManager();
            var list = manager.GetAssessmentsForUser(1);

            Assert.IsTrue(list.Count() > 0);
        }