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)); }
public void GetAssessmentsForUserTest() { AssessmentManager manager = new AssessmentManager(); var list = manager.GetAssessmentsForUser(1); Assert.IsTrue(list.Count() > 0); }