public ActionResult <TodoListReadDto> DeleteUser(string Id)
        {
            string userId = _todoListRepository.GetUserIdByTodoListId(Id);

            if (userId != User.Identity.Name)
            {
                return(Unauthorized());
            }
            var todoList = _todoListRepository.GetTodoListById(Id);

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

            _todoListRepository.DeleteTodoList(todoList);

            return(NoContent());
        }