Closed
Description
I tried out the following code provided in the doc
app.MapGet("/hello", () => "Hello World!");
app.MapGet("/todos", () => new { TodoItem = "Learn about routing", Complete = false });
app.MapPost("/todos", () => Result.Ok());
And I received the following error message-
(6,29): error CS0103: The name 'Result' does not exist in the current context
Just want to make note of that!