BolfTracker.Infrastructure.EntityFramework.ShotRepository.All C# (CSharp) 메소드

All() 공개 메소드

public All ( ) : IEnumerable
리턴 IEnumerable
        public IEnumerable<Shot> All()
        {
            using (var context = new BolfTrackerContext())
            {
                return context.Shots.ToList();
            }
        }