aswi20220x00-gitlab/Backend/Core/Services/Registration.cs @ 897851f8
1 | 897851f8 | Vojtěch Bartička | 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 | }
|