DepartmentProject/DepartmentPortal/Security/SecurityDatabaseImplementation/SecurityImplementationExtensions.cs

18 lines
662 B
C#
Raw Normal View History

using ModelTools.BusinessLogics;
using ModelTools.Interfaces;
using SecurityBusinessLogic.Interfaces;
using SecurityImplementation.SecurityDatabaseImplementation;
namespace SecurityDatabaseImplementation
{
public class SecurityImplementationExtensions : IImplementationExtension
{
public void RegisterServices()
{
UnityContainerConfigurator.PublishService<IAccessService, AccessService>();
UnityContainerConfigurator.PublishService<IEnviromentSettingService, EnviromentSettingService>();
UnityContainerConfigurator.PublishService<IRoleService, RoleService>();
UnityContainerConfigurator.PublishService<IUserService, UserService>();
}
}
}