public bool UpdateAracMusaitlikDurumu(int id) { try { bool isSuccess; using (var repo = new AracRepository()) { isSuccess = repo.UpdateMusaitlikDurumu(id); } return(isSuccess); } catch (Exception ex) { LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true); throw new Exception("BusinessLogic:AracBusiness::UpdateArac::Error occured.", ex); } }