2022-03-19 22:48:13 +04:00
|
|
|
|
using SecurityContract.Services;
|
|
|
|
|
using SecurityContract.Services.IGenericEntityService;
|
2021-04-01 21:30:29 +04:00
|
|
|
|
using SecurityDatabaseImplementation.Implementations;
|
2022-03-19 22:48:13 +04:00
|
|
|
|
using SecurityDatabaseImplementation.Implementations.AbstractGenerticEntityService;
|
2022-03-19 23:06:06 +04:00
|
|
|
|
using ToolsModule.DependencyManagment;
|
2021-03-26 20:09:52 +04:00
|
|
|
|
|
2021-03-28 11:14:14 +04:00
|
|
|
|
namespace SecurityDatabaseImplementation
|
2021-03-26 20:09:52 +04:00
|
|
|
|
{
|
2022-03-19 22:54:25 +04:00
|
|
|
|
public class SecurityImplementationDependencyRegistration : IDependencyRegistration
|
2021-03-26 20:09:52 +04:00
|
|
|
|
{
|
|
|
|
|
public void RegisterServices()
|
|
|
|
|
{
|
2021-03-28 19:48:15 +04:00
|
|
|
|
DependencyManager.Instance.RegisterType<IAccessService, AccessService>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IEnviromentSettingService, EnviromentSettingService>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IRoleService, RoleService>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IUserService, UserService>();
|
2021-04-01 21:30:29 +04:00
|
|
|
|
DependencyManager.Instance.RegisterType<IUserRoleService, UserRoleService>();
|
2021-04-02 15:53:15 +04:00
|
|
|
|
|
2021-04-02 20:04:46 +04:00
|
|
|
|
DependencyManager.Instance.RegisterType<IBackupService, BackupJsonContractService>();
|
2021-04-02 20:46:41 +04:00
|
|
|
|
DependencyManager.Instance.RegisterType<ISynchronizationService, SynchronizationService>();
|
2021-03-26 20:09:52 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|