Пример #1
0
 public ResultController()
 {
     blProblem = new ProblemBL(db);
     blSubmit = new StudentSubmitBL(db);
     blContest = new ContestBL(db);
     commentBL = new CommentBL(db);
 }
Пример #2
0
 public HomeController(IUserBL userBL, IWorkBL workBL, IGenreBL genreBL, IRatingBL ratingBL, ICommentBL commentBL)
 {
     this._userBL    = userBL;
     this._workBL    = workBL;
     this._genreBL   = genreBL;
     this._ratingBL  = ratingBL;
     this._commentBL = commentBL;
 }
 public CompositionController(IUserBL userBL, IWorkBL workBL, IGenreBL genreBL, IRatingBL ratingBL, ICommentBL commentBL)
 {
     this.userBL    = userBL;
     this.workBL    = workBL;
     this.genreBL   = genreBL;
     this.ratingBL  = ratingBL;
     this.commentBL = commentBL;
 }
Пример #4
0
 //--- Cosntructors ---
 public IndexRebuilder(
     IDekiChangeSink eventSink,
     UserBE currentUser,
     ISearchBL searchBL,
     IPageBL pageBL,
     ICommentBL commentBL,
     IAttachmentBL attachmentBL,
     IUserBL userBL,
     NS[] indexNameSpaceWhitelist,
     DateTime now
     )
 {
     _eventSink               = eventSink;
     _currentUser             = currentUser;
     _searchBL                = searchBL;
     _pageBL                  = pageBL;
     _commentBL               = commentBL;
     _attachmentBL            = attachmentBL;
     _userBL                  = userBL;
     _indexNameSpaceWhitelist = indexNameSpaceWhitelist;
     _now = now;
 }
Пример #5
0
 public ContestController()
 {
     contestBL = new ContestBL(db);
     commentBL = new CommentBL(db);
 }
 public CommentController(ICommentBL iCommentBL)
 {
     _iCommentBL = iCommentBL;
 }
Пример #7
0
 //--- Cosntructors ---
 public IndexRebuilder(
     IDekiChangeSink eventSink,
     UserBE currentUser,
     ISearchBL searchBL,
     IPageBL pageBL,
     ICommentBL commentBL,
     IAttachmentBL attachmentBL,
     IUserBL userBL,
     NS[] indexNameSpaceWhitelist,
     DateTime now
 ) {
     _eventSink = eventSink;
     _currentUser = currentUser;
     _searchBL = searchBL;
     _pageBL = pageBL;
     _commentBL = commentBL;
     _attachmentBL = attachmentBL;
     _userBL = userBL;
     _indexNameSpaceWhitelist = indexNameSpaceWhitelist;
     _now = now;
 }
Пример #8
0
 public ProblemController()
 {
     commentBL = new CommentBL(db);
     problemBL = new ProblemBL(db);
 }