remove line-breaks at the end of code samples (#251)
parent
7a675d8e8a
commit
e5d797f355
|
@ -23,7 +23,6 @@ app.MapGet("/todos/{id}", async (int Id, TodoDb Db) =>
|
||||||
// </snippet_id>
|
// </snippet_id>
|
||||||
|
|
||||||
// Remaining code removed for brevity.
|
// Remaining code removed for brevity.
|
||||||
|
|
||||||
// </snippet_top>
|
// </snippet_top>
|
||||||
|
|
||||||
// Avoid reading the incoming file stream directly into memory all at once.
|
// Avoid reading the incoming file stream directly into memory all at once.
|
||||||
|
@ -62,7 +61,6 @@ app.MapPost("/ap/todos", async ([AsParameters] NewTodoRequest request, TodoDb db
|
||||||
});
|
});
|
||||||
|
|
||||||
// Remaining code removed for brevity.
|
// Remaining code removed for brevity.
|
||||||
|
|
||||||
// </snippet_post_put_delete_as_parameters>
|
// </snippet_post_put_delete_as_parameters>
|
||||||
|
|
||||||
// <snippet_post_put_delete>
|
// <snippet_post_put_delete>
|
||||||
|
@ -90,7 +88,6 @@ app.MapPost("/todos", async ([FromForm] string name,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Remaining code removed for brevity.
|
// Remaining code removed for brevity.
|
||||||
|
|
||||||
// </snippet_post_put_delete>
|
// </snippet_post_put_delete>
|
||||||
|
|
||||||
app.UseStaticFiles();
|
app.UseStaticFiles();
|
||||||
|
|
Loading…
Reference in New Issue