public Entities.Arac[] GetAll() { try { using (var nesne = new AracBusiness()) { return(nesne.GetAll().ToArray()); } } catch (Exception hata) { Console.WriteLine(hata); return(null); } }