public void Update(WalkGoal walkGoalToUpdate) { myWalkGoals.Remove(myWalkGoals.First(w => w.Id == walkGoalToUpdate.Id)); Add(walkGoalToUpdate); }
public void Add(WalkGoal walkGoal) { myWalkGoals.Add(walkGoal); }