public static IUnityContainerWrapper Initialize(IUnityContainerWrapper containerWrapper) { containerWrapper.Register<IUsersRepository, UsersRepository>(); containerWrapper.Register<IBugsRepository, BugsRepository>(); containerWrapper.Register<IGroupsRepository, GroupsRepository>(); containerWrapper.Register<IProjectsRepository, ProjectsRepository>(); containerWrapper.Register<IStudentsRepository, StudentsRepository>(); containerWrapper.Register<ISubjectRepository, SubjectRepository>(); containerWrapper.Register<ITestsRepository, TestsRepository>(); containerWrapper.Register<IModulesRepository, ModulesRepository>(); containerWrapper.Register<IMessageRepository, MessageRepository>(); containerWrapper.Register<IDpContext, LmPlatformModelsContext>(); return containerWrapper; }
public static IUnityContainerWrapper Initialize(IUnityContainerWrapper containerWrapper) { containerWrapper.Register <IUsersRepository, UsersRepository>(); containerWrapper.Register <IBugsRepository, BugsRepository>(); containerWrapper.Register <IGroupsRepository, GroupsRepository>(); containerWrapper.Register <IProjectsRepository, ProjectsRepository>(); containerWrapper.Register <IStudentsRepository, StudentsRepository>(); containerWrapper.Register <ISubjectRepository, SubjectRepository>(); containerWrapper.Register <ITestsRepository, TestsRepository>(); containerWrapper.Register <IModulesRepository, ModulesRepository>(); containerWrapper.Register <IMessageRepository, MessageRepository>(); containerWrapper.Register <IDpContext, LmPlatformModelsContext>(); return(containerWrapper); }
public static IUnityContainerWrapper Initialize(IUnityContainerWrapper containerWrapper) { containerWrapper.Register <IAccountManagementService, AccountManagementService>(); containerWrapper.Register <IUsersManagementService, UsersManagementService>(); containerWrapper.Register <IBugManagementService, BugManagementService>(); containerWrapper.Register <IGroupManagementService, GroupManagementService>(); containerWrapper.Register <ITestsManagementService, TestsManagementService>(); containerWrapper.Register <ITestPassingService, TestPassingService>(); containerWrapper.Register <IQuestionsManagementService, QuestionsManagementService>(); containerWrapper.Register <IProjectManagementService, ProjectManagementService>(); containerWrapper.Register <IStudentManagementService, StudentManagementService>(); containerWrapper.Register <ISubjectManagementService, SubjectManagementService>(); containerWrapper.Register <IModulesManagementService, ModulesManagementService>(); containerWrapper.Register <ILecturerManagementService, LecturerManagementService>(); containerWrapper.Register <IMessageManagementService, MessageManagementService>(); containerWrapper.Register <IFilesManagementService, FilesManagementService>(); containerWrapper.Register <IDpManagementService, DpManagementService>(); containerWrapper.Register <ICorrelationService, CorrelationService>(); containerWrapper.Register <ICpCorrelationService, CpCorrelationService>(); containerWrapper.Register <IPercentageGraphService, PercentageGraphService>(); containerWrapper.Register <ICpPercentageGraphService, CpPercentageGraphService>(); containerWrapper.Register <IUserService, UserService>(); containerWrapper.Register <ICPUserService, CPUserService>(); containerWrapper.Register <IFoldersManagementService, FoldersManagementService>(); containerWrapper.Register <IMaterialsManagementService, MaterialsManagementService>(); containerWrapper.Register <IConceptManagementService, ConceptManagementService>(); containerWrapper.Register <ICPManagementService, CPManagementService>(); return(containerWrapper); }
public static IUnityContainerWrapper Initialize(IUnityContainerWrapper containerWrapper) { containerWrapper.Register<IAccountManagementService, AccountManagementService>(); containerWrapper.Register<IUsersManagementService, UsersManagementService>(); containerWrapper.Register<IBugManagementService, BugManagementService>(); containerWrapper.Register<IGroupManagementService, GroupManagementService>(); containerWrapper.Register<ITestsManagementService, TestsManagementService>(); containerWrapper.Register<ITestPassingService, TestPassingService>(); containerWrapper.Register<IQuestionsManagementService, QuestionsManagementService>(); containerWrapper.Register<IProjectManagementService, ProjectManagementService>(); containerWrapper.Register<IStudentManagementService, StudentManagementService>(); containerWrapper.Register<ISubjectManagementService, SubjectManagementService>(); containerWrapper.Register<IModulesManagementService, ModulesManagementService>(); containerWrapper.Register<ILecturerManagementService, LecturerManagementService>(); containerWrapper.Register<IMessageManagementService, MessageManagementService>(); containerWrapper.Register<IFilesManagementService, FilesManagementService>(); containerWrapper.Register<IDpManagementService, DpManagementService>(); containerWrapper.Register<ICorrelationService, CorrelationService>(); containerWrapper.Register<ICpCorrelationService, CpCorrelationService>(); containerWrapper.Register<IPercentageGraphService, PercentageGraphService>(); containerWrapper.Register<ICpPercentageGraphService, CpPercentageGraphService>(); containerWrapper.Register<IUserService, UserService>(); containerWrapper.Register<ICPUserService, CPUserService>(); containerWrapper.Register<IFoldersManagementService, FoldersManagementService>(); containerWrapper.Register<IMaterialsManagementService, MaterialsManagementService>(); containerWrapper.Register<IConceptManagementService, ConceptManagementService>(); containerWrapper.Register<ICPManagementService, CPManagementService>(); return containerWrapper; }