public IEnumerable <Milestone> Patch(int userId, int goalId) { //Generate the milestones for the goal Goal goal = goalService.GetGoal(goalId); return(milestoneService.GenerateMilestones(goal)); }