aswi20220x00-gitlab/Backend/Core/Services/Registration.cs @ fc0e5b36
1 |
using Microsoft.AspNetCore.Builder; |
---|---|
2 |
using Microsoft.Extensions.DependencyInjection; |
3 |
using System; |
4 |
using System.Collections.Generic; |
5 |
using System.Linq; |
6 |
using System.Text; |
7 |
using System.Threading.Tasks; |
8 |
|
9 |
namespace Core.Services |
10 |
{
|
11 |
public class Registration |
12 |
{
|
13 |
public static void RegisterServices(WebApplicationBuilder builder) |
14 |
{
|
15 |
builder.Services.AddScoped<IUserService, UserServiceEF>(); |
16 |
}
|
17 |
}
|
18 |
}
|