//Bu public JsonResult BUNMLookup(string ObjKy, string PreKy = "1") { int UsrKy = HTNSession.UsrKy; int CKy = HTNSession.CKy; List <BUModel> PettySettle = new List <BUModel>(); string key = "BUNm" + "-" + "ObjKy " + ObjKy.ToString() + ":" + PreKy + "-CKy:" + CKy; var BUNmlist = HTNCache.GetCachedObject(key); if (BUNmlist != null) { PettySettle = (List <BUModel>)BUNmlist; } else { PettySettle = apiOpr.BUNMLookup(HTNSession.Environment, CKy, UsrKy, ObjKy, PreKy); HTNCache.SetCachedObject(key, PettySettle, 3600); } return(Json(PettySettle, JsonRequestBehavior.AllowGet)); }