Esempio n. 1
0
        public IActionResult SubmitTutorQuestionComment(long TQuestionId, long UID, long ObjEntityId, string Description)
        {
            TQuestionComment newTutorQuestionComment = new TQuestionComment();

            newTutorQuestionComment = TutorQuestionDB.AddTutorQuestionComment(TQuestionId, UID, ObjEntityId, Description, GetConfiguration().GetConnectionString(DEFAULT_CONNECTION));
            if (newTutorQuestionComment != null)
            {
                Notify("CommentedQuestion", "" + TQuestionId);
            }
            return(Json(newTutorQuestionComment));
        }