Exemple #1
0
        public JsonResult InsertAndUpdateQuestionnaire(string QuestionnaireID, string Response, string Comments)
        {
            try
            {
                string Msg;
                ModifyQuestionnaireData create_Reponse_Obj = new ModifyQuestionnaireData();
                Msg = create_Reponse_Obj.InsertAndUpdateUserResponse(QuestionnaireID, Response, HttpUtility.UrlDecode(Comments));

                var jsonResult = Json(Msg, JsonRequestBehavior.AllowGet);
                jsonResult.MaxJsonLength = int.MaxValue;
                return(jsonResult);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }