2022-03-19 19:58:10 +04:00
|
|
|
|
using SecurityContract.Interfaces;
|
|
|
|
|
using SecurityContract.Interfaces.IGenericEntityService;
|
2021-04-01 21:30:29 +04:00
|
|
|
|
using SecurityDatabaseImplementation.Implementations;
|
2022-03-19 19:58:10 +04:00
|
|
|
|
using ToolsModule.BusinessLogics;
|
|
|
|
|
using ToolsModule.Interfaces;
|
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 19:58:10 +04:00
|
|
|
|
public class SecurityImplementationExtensions : IImplementationExtension
|
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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|