public void SetUpNinject() { _ninjectKernel = new StandardKernel(); _ninjectKernel.Load(DependencyLoader.LoadModule()); _assignmentManager = _ninjectKernel.Get<AssignmentManager>(); _courseManager = _ninjectKernel.Get<CourseManager>(); }
public ParentsController(LmsUserManager userMan, AssignmentManager assignmentMgr) { _lmsUserManager = userMan; _assignmentMgr = assignmentMgr; }
public CoursesController(CourseManager courseManager, AssignmentManager assignmentManager) { _assignmentManager = assignmentManager; _courseManager = courseManager; }
public StudentsController(AssignmentManager assignmentMan, CourseManager courseMan) { _assignmentManager = assignmentMan; _courseManager = courseMan; }