public object GetJournalsMetaData(JournalMetaInputDto obj)
        {
            var cachedData = AppStartCache.GetCachedData(obj.GridName);

            if (cachedData.Item1)
            {
                return(cachedData.Item2);
            }
            else
            {
                return(controller.GetJournalsMetaData(obj));
            }
        }
示例#2
0
        public object Data(string refdata)
        {
            var cachedData = AppStartCache.GetCachedData(refdata);

            if (cachedData.Item1)
            {
                return(cachedData.Item2);
            }
            else
            {
                return(controller.Data(refdata));
            }
        }