Projekt

Obecné

Profil

Stáhnout (495 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
using Core.Authentication;
2
using Microsoft.AspNetCore.Builder;
3
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
            builder.Services.AddScoped<IAuthService, AuthService>();
13
            
14
            builder.Services.AddScoped<IJwtUtils, JwtUtils>();
15
        }
16
    }
17
}
    (1-1/1)