public void SetUpNinject()
        {
            _ninjectKernel = new StandardKernel();

            _ninjectKernel.Load(DependencyLoader.LoadModule());

            _assignmentManager = _ninjectKernel.Get<AssignmentManager>();
            _courseManager = _ninjectKernel.Get<CourseManager>();
        }
Пример #2
0
 public ParentsController(LmsUserManager userMan, AssignmentManager assignmentMgr)
 {
     _lmsUserManager = userMan;
     _assignmentMgr = assignmentMgr;
 }
Пример #3
0
 public CoursesController(CourseManager courseManager, AssignmentManager assignmentManager)
 {
     _assignmentManager = assignmentManager;
     _courseManager = courseManager;
 }
Пример #4
0
 public StudentsController(AssignmentManager assignmentMan, CourseManager courseMan)
 {
     _assignmentManager = assignmentMan;
     _courseManager = courseMan;
 }