コード例 #1
0
        public JsonResult CountryCode()
        {
            DDlList obj = new DDlList();

            obj.Text     = "Not Selected";
            obj.Value    = -1;
            obj.Selected = true;
            var value = _objIDDLBAL.CountryCode_GetAllByCultureBAL(CurrentCulture);

            value.Insert(0, obj);
            return(Json(value, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
ファイル: DDLController.cs プロジェクト: waqasBashir/TMS
 public JsonResult CountryCode()
 {
     return(Json(_objIDDLBAL.CountryCode_GetAllByCultureBAL(CurrentCulture), JsonRequestBehavior.AllowGet));
 }