2024-11-25 18:25:04 +04:00
|
|
|
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)
|
|
|
|
{
|
2024-11-25 20:56:39 +04:00
|
|
|
services.AddTransient<IUserRepo, UserRepo>();
|
2024-11-25 18:25:04 +04:00
|
|
|
}
|
|
|
|
}
|