Exemplo n.º 1
0
        public JsonResult AddComment(Comment comment)
        {
            comment.UserId = SessionManager.LoggedInUser.UserID;
            DepartmentRepository _dept = new DepartmentRepository();

            _dept.AddComment(comment);
            return(Json(true));
        }