private Boolean RecordOldHabit() { if (!newHabit.IsEqual(_habit)) { _hisDataset.habitRepository.Update(newHabit, _clinic, _operator); return(true); } return(true); }