public JsonResult ApplyTempData(string AplyNo) { MSGReturnModel <IEnumerable <ITreaItem> > result = new MSGReturnModel <IEnumerable <ITreaItem> >(); if (Cache.IsSet(CacheList.TreasuryAccessViewData) && Cache.IsSet(CacheList.BILLTempData)) { TreasuryAccessViewModel data = (TreasuryAccessViewModel)Cache.Get(CacheList.TreasuryAccessViewData); result = Bill.ApplyAudit((List <BillViewModel>)Cache.Get(CacheList.BILLTempData), data); if (result.RETURN_FLAG && !data.vAplyNo.IsNullOrWhiteSpace()) { new TreasuryAccessController().ResetSearchData(); } } else { result.RETURN_FLAG = false; result.DESCRIPTION = Ref.MessageType.login_Time_Out.GetDescription(); } return(Json(result)); }