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

46 lines
2.3 KiB
C#
Raw Normal View History

using DepartmentContract.Services.IGenericEntityService;
using DepartmentDatabaseImplementation.Implementations;
using DepartmentDatabaseImplementation.Implementations.AbstractGenerticEntityService;
using ToolsModule.DependencyManagment;
namespace DepartmentDatabaseImplementation
{
public class DepartmentImplementationDependencyRegistration : IDependencyRegistration
{
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>();
2021-04-06 22:07:11 +04:00
DependencyManager.Instance.RegisterType<ITimeNormService, TimeNormService>();
DependencyManager.Instance.RegisterType<IAcademicPlanService, AcademicPlanService>();
DependencyManager.Instance.RegisterType<IAcademicPlanRecordService, AcademicPlanRecordService>();
DependencyManager.Instance.RegisterType<IAcademicPlanRecordTimeNormHourService, AcademicPlanRecordTimeNormHourService>();
2021-04-12 10:01:42 +04:00
DependencyManager.Instance.RegisterType<IStudentGroupService, StudentGroupService>();
2021-04-12 16:57:29 +04:00
DependencyManager.Instance.RegisterType<IStudentService, StudentService>();
2021-04-13 12:52:45 +04:00
DependencyManager.Instance.RegisterType<IOrderService, OrderService>();
DependencyManager.Instance.RegisterType<IOrderStudentRecordService, OrderStudentRecordService>();
DependencyManager.Instance.RegisterType<IOrderSyncHistoryService, OrderSyncHistoryService>();
DependencyManager.Instance.RegisterType<IOrderSyncHistoryRecordService, OrderSyncHistoryRecordService>();
}
}
}