18 lines
603 B
C#
18 lines
603 B
C#
|
using data.Domain.UseCase;
|
|||
|
using data.Repository;
|
|||
|
|
|||
|
|
|||
|
public class ServiceExtencions
|
|||
|
{
|
|||
|
public void ConfigureServices(IServiceCollection services)
|
|||
|
{
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
services.AddScoped<IUserRepository, SQLUserRepositoryImpl>() // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IUserRepository <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.AddScoped<IGroupRepository, SQLGroupRepositoryImpl>()
|
|||
|
.AddScoped<IPresenceRepository, SQLPresenceRepositoryImpl>()
|
|||
|
.AddScoped<UseCaseGeneratePresence>(); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> UseCase
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
services.AddControllers();
|
|||
|
}
|
|||
|
}
|