DepartmentProject/DepartmentPortal/Security/SecurityDatabaseImplementation/SecurityImplementationExtensions.cs

22 lines
915 B
C#

using ToolsModule.BusinessLogics;
using ToolsModule.Interfaces;
using SecurityBusinessLogic.Interfaces;
using SecurityDatabaseImplementation.Implementations;
namespace SecurityDatabaseImplementation
{
public class SecurityImplementationExtensions : IImplementationExtension
{
public void RegisterServices()
{
DependencyManager.Instance.RegisterType<IAccessService, AccessService>();
DependencyManager.Instance.RegisterType<IEnviromentSettingService, EnviromentSettingService>();
DependencyManager.Instance.RegisterType<IRoleService, RoleService>();
DependencyManager.Instance.RegisterType<IUserService, UserService>();
DependencyManager.Instance.RegisterType<IUserRoleService, UserRoleService>();
DependencyManager.Instance.RegisterType<IBackupService, BackupJsonContractService>();
DependencyManager.Instance.RegisterType<ISynchronizationService, SynchronizationService>();
}
}
}