public CommentController(ICommentRepository _commentRepository, ICommentVoteRepository _commentVoteRepository, IUserRepository _userRepository, ICounterRepository _counterRepository, IPersistentLoginHandler _loginHandler, INotificationRepository _notificationRepository, IPuzzleRepository _puzzleRepository) : base(_userRepository, _loginHandler) { commentRepository = _commentRepository; commentVoteRepository = _commentVoteRepository; counterRepository = _counterRepository; notificationRepository = _notificationRepository; puzzleRepository = _puzzleRepository; }
public CommentSorter(ICommentVoteRepository _voteRepo, IUserRepository _userRepo) { voteRepo = _voteRepo; userRepo = _userRepo; }
public CommentVoteLogic(ICommentVoteRepository commentVoteRepository, IMapper mapper) { this._commentVoteRepository = commentVoteRepository; this._mapper = mapper; }
public CommentVoteService(ICommentVoteRepository commentVoteRepository, IUnitOfWork unitOfWork) { this._commentVoteRepository = commentVoteRepository; this._unitOfWork = unitOfWork; }
public CommentSorter(List <Models.Comment> list, ICommentVoteRepository _voteRepo, IUserRepository _userRepo) { voteRepo = _voteRepo; userRepo = _userRepo; Ordered = new ReadOnlyCollection <Comment>(OrderRecursively(list, null, 0)); }