Пример #1
0
        static void Main(string[] args)
        {
            MusteriManager musteriManager = new MusteriManager(new EfMusteriDal());

            foreach (var musteri in musteriManager.GetAll())
            {
                MusteriListeSatiri(musteri);
            }
        }
        public List <MusteriDTO> GetAll()
        {
            var musteriler = musteriService.GetAll();

            return(Mapper.Map <List <MusteriDTO> >(musteriler).ToList());
        }