public Milestone Post(int userId, int goalId, [FromBody] Milestone milestone) { //Generate the milestones for the goal Goal goal = goalService.GetGoal(goalId); return(milestoneService.CreateMilestoneForGoal(milestone, goal)); }