Beispiel #1
0
        public JsonResult GetComments()
        {
            List <ProjectList> comments = MyProjectManager.GetComments(Convert.ToInt32(Session["UserId"]), "Group");

            return(Json(comments, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public JsonResult GetComments(int groupId)
        {
            List <ProjectList> comments = MyProjectManager.GetComments(groupId, "Supervisor");

            return(Json(comments, JsonRequestBehavior.AllowGet));
        }