public object GetJournalsMetaData(JournalMetaInputDto obj) { var cachedData = AppStartCache.GetCachedData(obj.GridName); if (cachedData.Item1) { return(cachedData.Item2); } else { return(controller.GetJournalsMetaData(obj)); } }
public object Data(string refdata) { var cachedData = AppStartCache.GetCachedData(refdata); if (cachedData.Item1) { return(cachedData.Item2); } else { return(controller.Data(refdata)); } }