private void AddWaterClickImpl() { if (CurrentAmountOfWater < TotalWaterAmount) { CurrentAmountOfWater += CapacityOfWater; SaveWaterToFile.SaveWaterToFileMethod(CurrentAmountOfWater.ToString(), DaysDifference); } }
private void SubWaterClickImpl() { if (CurrentAmountOfWater > CapacityOfWater) { CurrentAmountOfWater -= CapacityOfWater; } else { CurrentAmountOfWater = 0; } SaveWaterToFile.SaveWaterToFileMethod(CurrentAmountOfWater.ToString(), DaysDifference); }