BolfTracker.Infrastructure.EntityFramework.PlayerGameStatisticsRepository.All C# (CSharp) Method

All() public method

public All ( ) : IEnumerable
return IEnumerable
        public IEnumerable<PlayerGameStatistics> All()
        {
            using (var context = new BolfTrackerContext())
            {
                var playerGameStatistics = context.PlayerGameStatistics.ToList();

                return playerGameStatistics;
            }
        }