コード例 #1
0
        public List <Kullanici> KullaniciHepsiniSec()
        {
            var responseEntities = new List <Kullanici>();

            try
            {
                using (var repo = new KullaniciRepository())
                {
                    foreach (var entity in repo.HepsiniSec())
                    {
                        responseEntities.Add(entity);
                    }
                }
                return(responseEntities);
            }
            catch (Exception ex)
            {
                throw new Exception("KullaniciBusiness:KullaniciRepository:Hepsini Seçme Hatası", ex);
            }
        }