public async Task <IActionResult> GetGoals([Required] Guid id)
        {
            var request = new GetEmployeeGoalsOperationRequest {
                EmployeeId = id
            };
            var response =
                await _getEmployeeGoalsOperation.Execute(request);

            return(Ok(new PersonalGoalListModel(response)));
        }
        public async Task <GetEmployeeGoalsOperationResponse> Execute(GetEmployeeGoalsOperationRequest request)
        {
            var personalGoals = await _personalGoalRepository.GetByEmployeeIdAsync(request.EmployeeId);

            return(new GetEmployeeGoalsOperationResponse
            {
                PersonalGoals = personalGoals.Select(personalGoal => new GetEmployeeGoalsOperationResponse.PersonalGoal
                {
                    Id = personalGoal.Id,
                    CompletionDate = personalGoal.CompletionDate,
                    Topic = new GetEmployeeGoalsOperationResponse.Topic
                    {
                        Id = personalGoal.Topic.Id,
                        Subject = personalGoal.Topic.Subject,
                        Description = personalGoal.Topic.Description,
                    }
                }).ToList()
            });
        }