public async Task <IActionResult> GetRecentProjects()
        {
            var userId   = User.GetUserId();
            var projects = await _repo.GetRecentProjects(userId);

            var projectsToReturn = _mapper.Map <ProjectListItemDto[]>(projects);

            return(Ok(projectsToReturn));
        }