Skip to content

Commit 3d79725

Browse files
committed
Fixed newline
1 parent 60ea5de commit 3d79725

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • examples/AspNetCore/OData/ODataBasicExample

examples/AspNetCore/OData/ODataBasicExample/Program.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
// Add services to the container.
66

7-
builder.Services.AddControllers()
7+
builder.Services
8+
.AddControllers()
89
.AddOData( options => options.Select().Filter().OrderBy().SetMaxTop( null ).Count() );
10+
911
builder.Services.AddProblemDetails();
1012
builder.Services.AddApiVersioning()
1113
.AddOData(
@@ -16,10 +18,10 @@
1618
// is merely illustrating that they can coexist and allows you
1719
// to easily experiment with either configuration. one of these
1820
// would be removed in a real application.
19-
21+
2022
// WHEN VERSIONING BY: query string, header, or media type
2123
options.AddRouteComponents( "api" );
22-
24+
2325
// WHEN VERSIONING BY: url segment
2426
options.AddRouteComponents( "api/v{version:apiVersion}" );
2527
} );

0 commit comments

Comments
 (0)