public List <Kelime> ListeleDurum(string durum) { try { SqlDataReader reader = dll.KelimeListeleDurum(durum); while (reader.Read()) { KelimeListeleDurum.Add(new Kelime() { KelimeID = reader.IsDBNull(0) ? Guid.Empty : reader.GetGuid(0), KelimeIngilizce = reader.IsDBNull(1) ? string.Empty : reader.GetString(1), KelimeTurkce = reader.IsDBNull(2) ? string.Empty : reader.GetString(2), Aciklama = reader.IsDBNull(3) ? string.Empty : reader.GetString(3), Cumle = reader.IsDBNull(4) ? string.Empty : reader.GetString(4), }); } reader.Close(); } catch (Exception) { throw; } finally { dll.BaglantiAyarla(); } return(KelimeListeleDurum); }