public async Task <GoalResponse> AddGoal(Guid userId, GoalRequest request) { var challenge = _mappingService.CreateChallenge(request); var goal = _mappingService.CreateGoal(userId, challenge.ChallengeId, request); _challengeRepo.Create(challenge); _goalRepo.Create(goal); await _goalRepo.Save(); return(new GoalResponse(goal)); }