public ActionResult CDCView(string AplyNo, CDCSearchViewModel data, Ref.OpenPartialViewType type) { var _data = ((List <CDCCAViewModel>)CA.GetCDCSearchData(data, AplyNo)); ViewBag.Sataus = new Service.Actual.Common().GetSysCode("INVENTORY_TYPE"); ViewBag.type = type; ViewBag.IO = data.vTreasuryIO; ViewBag.dCA_Use = new SelectList(CA.GetCA_Use(), "Value", "Text"); ViewBag.dCA_Desc = new SelectList(CA.GetCA_Desc(), "Value", "Text"); data.vCreate_Uid = AccountController.CurrentUserId; Cache.Invalidate(CacheList.CDCSearchViewModel); Cache.Set(CacheList.CDCSearchViewModel, data); Cache.Invalidate(CacheList.CDCCAData); Cache.Set(CacheList.CDCCAData, _data); return(PartialView()); }