Projekt

Obecné

Profil

Stáhnout (495 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 c349bab3 Lukáš Vlček
using Core.Authentication;
2
using Microsoft.AspNetCore.Builder;
3 897851f8 Vojtěch Bartička
using Microsoft.Extensions.DependencyInjection;
4
5
namespace Core.Services
6
{
7
    public class Registration
8
    {
9
        public static void RegisterServices(WebApplicationBuilder builder)
10
        {
11
            builder.Services.AddScoped<IUserService, UserServiceEF>();
12 c349bab3 Lukáš Vlček
            builder.Services.AddScoped<IAuthService, AuthService>();
13
            
14
            builder.Services.AddScoped<IJwtUtils, JwtUtils>();
15 897851f8 Vojtěch Bartička
        }
16
    }
17 c349bab3 Lukáš Vlček
}