public IActionResult GetRelatedProject(int taskId, int projectId)
        {
            if (!_taskInfoRepository.TaskExists(taskId))
            {
                return(NotFound());
            }

            var relatedProject = _taskInfoRepository.GetRelatedProject(taskId, projectId);

            if (relatedProject == null)
            {
                return(NotFound());
            }

            var relatedProjectResult = new RelatedProjectsDto
            {
                Id          = relatedProject.Id,
                Name        = relatedProject.Name,
                Description = relatedProject.Description
            };

            return(Ok(relatedProjectResult));
            //var task = TasksDataStore.Current.Tasks.FirstOrDefault(t => t.Id == taskId);

            //if (task == null)
            //{
            //    return NotFound();
            //}

            //var relatedProject = task.RelatedProjects.FirstOrDefault(r => r.Id == projectId);

            //if (relatedProject == null)
            //{
            //    return NotFound();
            //}

            //return Ok(relatedProject);
        }