Untitled

 avatar
unknown
plain_text
2 years ago
190 B
4
Indexable
public void ConfigureServices(IServiceCollection services)
{
    services.AddSingleton<TodoRepository>(); // Register the TodoRepository as a singleton
    services.AddControllers();
}
Editor is loading...