Revize 24e1c89d
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Core/Services/Registration.cs | ||
---|---|---|
1 | 1 |
using Core.Authentication; |
2 |
using Core.Services.DocumentService; |
|
2 | 3 |
using Microsoft.AspNetCore.Builder; |
3 | 4 |
using Microsoft.Extensions.DependencyInjection; |
4 | 5 |
|
... | ... | |
9 | 10 |
public static void RegisterServices(WebApplicationBuilder builder) |
10 | 11 |
{ |
11 | 12 |
builder.Services.AddScoped<IUserService, UserServiceEF>(); |
13 |
builder.Services.AddScoped<IDocumentService, DocumentServiceEF>(); |
|
12 | 14 |
builder.Services.AddScoped<IAuthService, AuthService>(); |
13 | 15 |
|
14 | 16 |
builder.Services.AddScoped<IJwtUtils, JwtUtils>(); |
Také k dispozici: Unified diff
DocumentService created