Пример #1
0
 public SessionController(IBoBSessionRepository boBSessionRepository)
 {
     this._boBSessionRepository = boBSessionRepository;
 }
 public BoBGroupController(IBoBGroupRepository boBGroupRepository, IBoBSessionRepository boBSessionRepository)
 {
     _boBGroupRepository   = boBGroupRepository;
     _boBSessionRepository = boBSessionRepository;
 }
 public AssignmentController(IBoBSessionRepository bobSessionRepository)
 {
     _bobSessionRepository = bobSessionRepository;
 }
 //needed for injection during testing
 public MockSessionController(IBoBSessionRepository boBSessionRepository, HttpContext http) : base(boBSessionRepository)
 {
     ControllerContext.HttpContext = http;
 }