예제 #1
0
        public ActionResult SubmitRating(tblRatings objRating)
        {
            TblUser sessionUser = (TblUser)Session["UserSession"];

            objRating.UserId   = sessionUser.UserId;
            objRating.TenantId = sessionUser.TenantId;
            //objRating.ActivityType = "Quiz";
            var result = quizRepository.CaptureRatings(objRating);

            return(RedirectToAction("MyAssignments"));
        }