public ActionResult GetBmCodes(string codes)
{
Hashtable ht = new Hashtable();
string[] str = codes.Split(',');
foreach (var temp in str)
{
switch (temp)
{
case "xtzylx":
ht.Add(temp, UtilCodeInfo.xtzylx);
break;
case "xtzyzt":
ht.Add(temp, UtilCodeInfo.xtzyzt);
break;
case "usRole":
ht.Add(temp, UtilCodeInfo.usRole);
break;
case "usstate":
ht.Add(temp, UtilCodeInfo.usstate);
break;
case "rolestate":
// ht.Add(temp, UtilCodeInfo.rolestate);
break;
case "recode":
//ht.Add(temp, UtilCodeInfo.recode);
break;
}
}
return Json(ht, JsonRequestBehavior.AllowGet);
}