public ActionResult IsNeedCity(string ReportName)
        {
            IsBool _IsBool = new IsBool();

            ReportName = ReportName.Trim();

            if (SqlCmd.ReportName.IndexOf(ReportName) >= 0)
            {
                _IsBool.IsTrue = true;
            }
            else
            {
                _IsBool.IsTrue = false;
            }



            return(Json(_IsBool));
            // return _IsNeedCity;
        }
Пример #2
0
 //public static void SetOption(string option, string value) => SetOption(option, Convert.ToInt32(value));
 public static void SetOption(string option, int value) => OPTIONS[option] = (IsBool.Contains(option) ? Convert.ToInt32(value != 0) : value);
 public override string ToString()
 {
     return($"ML:{IsMultilingual.ToString()}/Bool:{IsBool.ToString()}/Enum:{IsEnumeration.ToString()}");
 }