public static void CacheReferenceData() { IRefData refData = new RefDataService(); AppStartCache.CacheData("fund", refData.Data("fund")); AppStartCache.CacheData("custodian", refData.Data("fund")); AppStartCache.CacheData("portfolio", refData.Data("fund")); AppStartCache.CacheData("broker", refData.Data("fund")); }
public static void CacheServerSideMetaInfo() { IJournalService journalService = new JournalService(); JournalMetaInputDto dto = new JournalMetaInputDto(); dto.GridName = "Journals Ledgers"; var result = journalService.GetJournalsMetaData(dto); AppStartCache.CacheData(dto.GridName, result); }