public async Task <IActionResult> GetUserTasksForCurrentUser()
        {
            User currentUser = await HttpContext.GetContextUser(userService)
                               .ConfigureAwait(false);

            if (currentUser == null)
            {
                ProblemDetails problem = new ProblemDetails
                {
                    Title    = "Failed getting the user account.",
                    Detail   = "The user could not be found in the database.",
                    Instance = "548DA96F-0183-483F-8CE9-2848A868DC57"
                };
                return(NotFound(problem));
            }

            List <UserTask> userTasks = await userTaskService.GetUserTasksForUser(currentUser.Id);

            return(Ok(userTasks));
        }