public IReadOnlyList<LapTimeEntry> GetLapTimesList(ILapTimesReader reader) { return GetCachedLapTimesList(reader) ?? UpdateCachedLapTimesList(reader); }
private async Task <IReadOnlyList <LapTimeEntry> > ReadAcDbEntriesAsync() { InitializeAc(); return(await Task.Run(() => { using (var reader = new AcLapTimesReader(FileUtils.GetDocumentsDirectory())) { return _acDbStorage.GetLapTimesList(reader); } })); }