Beispiel #1
0
        public async Task <ActionResult <IEnumerable <KullaniciDTO> > > GetAllKullanicis()
        {
            var kullanicis = await _kullaniciService.GetAllKullanicis();

            var kullaniciResources = _mapper.Map <IEnumerable <Kullanici>, IEnumerable <KullaniciDTO> >(kullanicis);

            return(Ok(kullaniciResources));
        }