예제 #1
0
파일: Program.cs 프로젝트: iOgre/CsvReader
        private static void ShowParticipants()
        {
            var service = new ParticipantService(new ParticipantRepository());

            foreach (var item in service.Get(0, 5))
            {
                Console.WriteLine($"{item.Id};{item.FIO};{item.Birthdate.ToShortDateString()};{item.Email};{item.Phone}");
            }
        }
 public List <Participant> Get() =>
 _participantService.Get();