DepartmentProject/DepartmentPortal/Department/DepartmentDatabaseImplementation.csproj/DepartmentImplementationExtensions.cs

22 lines
875 B
C#

using DepartmentBusinessLogic.Interfaces;
using DepartmentDatabaseImplementation.Implementations;
using ModuleTools.BusinessLogics;
using ModuleTools.Interfaces;
namespace DepartmentDatabaseImplementation
{
public class DepartmentImplementationExtensions : IImplementationExtension
{
public void RegisterServices()
{
DependencyManager.Instance.RegisterType<IEmployeePostService, EmployeePostService>();
DependencyManager.Instance.RegisterType<IEmployeeService, EmployeeService>();
DependencyManager.Instance.RegisterType<IEmployeeEmployeePostService, EmployeeEmployeePostService>();
DependencyManager.Instance.RegisterType<IClassroomService, ClassroomService>();
DependencyManager.Instance.RegisterType<IDisciplineBlockService, DisciplineBlockService>();
DependencyManager.Instance.RegisterType<IDisciplineService, DisciplineService>();
}
}
}