예제 #1
0
        public IActionResult MyLearnings()
        {
            int currentUserId = 0;

            if (Request.Cookies["Id"] != null)
            {
                currentUserId = Convert.ToInt32(Request.Cookies["Id"]);
            }
            ViewBag.learnings = subjectHelper.GetLearningSummary(currentUserId);
            return(View());
        }