14 lines
323 B
C#
14 lines
323 B
C#
|
using Contracts.Repositories;
|
||
|
using Contracts.Services;
|
||
|
using Infrastructure.Repositories;
|
||
|
using Services.Domain;
|
||
|
|
||
|
namespace Controllers.Extensions;
|
||
|
|
||
|
public static class AddReposExtension
|
||
|
{
|
||
|
public static void AddRepos(this IServiceCollection services)
|
||
|
{
|
||
|
services.AddSingleton<IUserRepo, UserRepo>();
|
||
|
}
|
||
|
}
|