public Arac AracGuncelle(Arac entity) { try { using (var repo = new AracRepository()) { if (repo.Guncelle(entity)) { return(entity); } } return(null); } catch (Exception ex) { throw new Exception("AracBusiness:AracRepository:Güncelleme Hatası", ex); } }