public bool KullaniciSilById(int kullID) { try { bool isSuccess; using (var repo = new KullaniciRepository()) { isSuccess = repo.DeletedById(kullID); } return(isSuccess); } catch (Exception ex) { LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true); throw new Exception("Business:KullaniciBusiness::KullaniciSilById::Hata Oluştu.", ex); } }