示例#1
0
        public async Task <SessionInfoDto> LoadRecentSessionAsync(string sessionIdentifier)
        {
            try
            {
                SessionInfoDto sessionInfoDto = await Task.Run(() => _telemetryRepository.OpenRecentSession(sessionIdentifier));

                return(await LoadRecentSessionAsync(sessionInfoDto));
            }
            catch (Exception ex)
            {
                Logger.Error(ex, "Error while loading session");
            }

            return(null);
        }