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 7b6d453 commit 5424796Copy full SHA for 5424796
LibraryManagement.Api/Program.cs
@@ -6,6 +6,7 @@
6
using LibraryManagement.Api.Brokers.Loggings;
7
using LibraryManagement.Api.Brokers.Storages;
8
using LibraryManagement.Api.Services.Foundations.Books;
9
+using LibraryManagement.Api.Services.Foundations.Readers;
10
using Microsoft.OpenApi.Models;
11
12
var builder = WebApplication.CreateBuilder(args);
@@ -20,6 +21,7 @@
20
21
builder.Services.AddTransient<IStorageBroker, StorageBroker>();
22
builder.Services.AddTransient<ILoggingBroker, LoggingBroker>();
23
builder.Services.AddTransient<IBookService, BookService>();
24
+builder.Services.AddTransient<IReaderService, ReaderService>();
25
builder.Services.AddControllers();
26
builder.Services.AddEndpointsApiExplorer();
27
0 commit comments