public async Task <IActionResult> GetAllAsOptions()
        {
            int userId;

            try
            {
                userId = IdentityHelper.GetUserId(User);
            }
            catch (UnauthorizedAccessException)
            {
                return(Unauthorized());
            }

            IEnumerable <ToDoListOption> options = await _listService.GetAllAsOptionsAsync(userId);

            return(Ok(options));
        }