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

30 lines
1.3 KiB
C#
Raw Normal View History

using DepartmentBusinessLogic.Interfaces;
using DepartmentDatabaseImplementation.Implementations;
using ModuleTools.BusinessLogics;
using ModuleTools.Interfaces;
namespace DepartmentDatabaseImplementation
{
public class DepartmentImplementationExtensions : IImplementationExtension
{
public void RegisterServices()
{
DependencyManager.Instance.RegisterType<IPostService, PostService>();
DependencyManager.Instance.RegisterType<IEmployeeService, EmployeeService>();
DependencyManager.Instance.RegisterType<IEmployeePostService, EmployeePostService>();
2021-04-03 13:41:19 +04:00
DependencyManager.Instance.RegisterType<IClassroomService, ClassroomService>();
2021-04-03 19:03:56 +04:00
DependencyManager.Instance.RegisterType<IDisciplineBlockService, DisciplineBlockService>();
DependencyManager.Instance.RegisterType<IDisciplineService, DisciplineService>();
DependencyManager.Instance.RegisterType<ILecturerAcademicDegreeService, LecturerAcademicDegreeService>();
DependencyManager.Instance.RegisterType<ILecturerAcademicRankService, LecturerAcademicRankService>();
DependencyManager.Instance.RegisterType<ILecturerService, LecturerService>();
DependencyManager.Instance.RegisterType<ILecturerPostService, LecturerPostService>();
DependencyManager.Instance.RegisterType<IEducationDirectionService, EducationDirectionService>();
}
}
}