Skip to content

Commit 4f3e7ba

Browse files
author
Rick Anderson
committed
Update Startup.cs
1 parent a8ca4ef commit 4f3e7ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WebServices/TodoREST/TodoAPI/TodoAPI/Startup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ public Startup(IConfiguration configuration)
1818

1919
public IConfiguration Configuration { get; }
2020

21-
// This method gets called by the runtime. Use this method to add services to the container.
21+
#region snippet2
2222
public void ConfigureServices(IServiceCollection services)
2323
{
2424
services.AddSingleton<ITodoRepository, TodoRepository>();
2525
services.AddControllers();
2626
}
27+
#endregion
2728

2829
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
2930
#region snippet

0 commit comments

Comments
 (0)