We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ca4ef commit 4f3e7baCopy full SHA for 4f3e7ba
WebServices/TodoREST/TodoAPI/TodoAPI/Startup.cs
@@ -18,12 +18,13 @@ public Startup(IConfiguration configuration)
18
19
public IConfiguration Configuration { get; }
20
21
- // This method gets called by the runtime. Use this method to add services to the container.
+ #region snippet2
22
public void ConfigureServices(IServiceCollection services)
23
{
24
services.AddSingleton<ITodoRepository, TodoRepository>();
25
services.AddControllers();
26
}
27
+ #endregion
28
29
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
30
#region snippet
0 commit comments