コード例 #1
0
        public ActionResult AddLanguageDetails(LanguageTimeZone LanguageTimeZone)
        {
            string msg    = "Data created successfully.";
            int    result = -1;

            result = _admindata.CreateLanguage(LanguageTimeZone, "insert");
            if (result <= 0)
            {
                msg = "Error in data or already in system.";
            }

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