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;
 }