Ejemplo n.º 1
0
        public JsonResult ShowCustomTranslation()
        {
            BL_CustomTranslation db = new BL_CustomTranslation();


            return(new JsonResult {
                Data = db.SelectAllData(), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
Ejemplo n.º 2
0
        public ActionResult Delete(int TextID)
        {
            string del = "";

            TextID = Convert.ToInt32(Request.Form["TextID"]);
            BL_CustomTranslation obj = new BL_CustomTranslation();

            // BL_PatientPrivilegeCard _PatientPrivilegeCard = new BL_PatientPrivilegeCard();
            if (obj.Delete(TextID))
            {
                del = "Delete";
            }

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