Example #1
0
        public ActionResult TeacherComment(int subID)
        {
            var sub = SS.GetSubmissionByID(subID);

            sub.UserModel = US.GetUserOverviewByUserName(User.Identity.GetUserName(), sub.CourseID);
            return(View(sub));
        }
Example #2
0
        public void GetSubmissionByIDTest()
        {
            int SubID = 1;

            var TheSub = _SS.GetSubmissionByID(SubID);

            Assert.AreEqual(1, TheSub.CourseID);
        }