public JsonResult DisplayMyAssessment(Int64 AccountID)
        {
            CalendarDAL objCalendarDAL = new CalendarDAL();
            IList<CalendarBE> tasksList = new List<CalendarBE>();

            tasksList = objCalendarDAL.GetMyAssessment(AccountID);

            var eventList = from e in tasksList

                            select new
                            {

                                id = e.AssessmentID,

                                title = e.Name,

                                description = e.Description,

                                start = DateConv((DateTime)e.DateDue),

                                end = DateConv((DateTime)e.DateDue),

                                Points = e.PointsPossible.ToString(),

                                CourseName = e.CourseTitle.ToString(),

                                TypeID = e.AssessmentTypeID,

                                AssessmentType = e.AssessmentTypeName.ToString(),

                                color=e.color.ToString(),

                                allDay = false
                            };
            var rows = eventList.ToArray();

            //return Json(rows, JsonRequestBehavior.AllowGet);
            return Json(rows, JsonRequestBehavior.AllowGet);
        }
        public ActionResult MyAssessments()
        {
            Int64 AccountID = Convert.ToInt64(Request.QueryString["AccountID"]);
            CalendarDAL objCalendarDAL = new CalendarDAL();
            IList<CalendarBE> tasksList = new List<CalendarBE>();
            ViewData["AssTypes"] = objCalendarDAL.GetAssessmentTypeList();

            tasksList = objCalendarDAL.GetMyAssessment(AccountID);

            //return Json(rows, JsonRequestBehavior.AllowGet);
            return View(tasksList);
        }