public bool DeleteCalisanById(int ID) { try { bool isSuccess; using (var repo = new CalisanRepository()) { isSuccess = repo.DeletedById(ID); } return(isSuccess); } catch (Exception ex) { LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true); throw new Exception("BusinessLogic:CalisanBusiness::DeleteCalisan::Error occured.", ex); } }