Untitled

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