13 lines
342 B
C#
13 lines
342 B
C#
|
using Contracts.Services;
|
||
|
using Services.Domain;
|
||
|
|
||
|
namespace Controllers.Extensions;
|
||
|
|
||
|
public static class AddDomainServicesExtension
|
||
|
{
|
||
|
public static void AddDomainServices(this IServiceCollection services)
|
||
|
{
|
||
|
services.AddSingleton<IAuthService, AuthService>();
|
||
|
services.AddSingleton<IUserService, UserService>();
|
||
|
}
|
||
|
}
|