Exemplo n.º 1
0
        public ActionResult DeleteLanguage(int ID)
        {
            string msg    = "Data deleted successfully.";
            int    result = -1;

            result = _admindata.DeleteLanguage(ID, "delete");
            if (result <= 0)
            {
                msg = "Data not deleted!";
            }

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