public CommentsAdminController ( ISiteService siteService, ISession session, // IActivityLibrary activityLibrary, // IWorkflowManager workflowManager, ICommentRepositoryDapper commentsRepository, // IWorkflowTypeIdGenerator workflowTypeIdGenerator, IAuthorizationService authorizationService, // IActivityDisplayManager activityDisplayManager, IShapeFactory shapeFactory, INotifier notifier, IStringLocalizer <CommentsAdminController> s, IHtmlLocalizer <CommentsAdminController> h ) { _siteService = siteService; _session = session; // _activityLibrary = activityLibrary; //_workflowManager = workflowManager; _commentsRepository = commentsRepository; _authorizationService = authorizationService; // _activityDisplayManager = activityDisplayManager; _notifier = notifier; New = shapeFactory; S = s; H = h; }
//private readonly IHubContext<NotificationHub> _hubContext; //private readonly int NumberOfLoadingItems = 10; //, IRealTimeNotifier realTimeNotifier, //,UserManager<IUser> userManager, public CommentsApiController( ICommentRepositoryDapper commentRepository, ICommentUserVoteRepositoryDapper commentUserVoteRepository, ICommentsFileStore customFileStore, ISession session, IPushNotificationService pushNotificationService ) // ,IHubContext<NotificationHub> hubContext, ApplicationDbContext context, { // _context = context; // _userManager = userManager; // _notificationRepository = notificationRepository; _session = session; _pushNotificationService = pushNotificationService; _commentRepository = commentRepository; _commentUserVoteRepository = commentUserVoteRepository; _customFileStore = customFileStore; // _hubContext = hubContext; }
public ContentItemCommentsHandler(ICommentRepositoryDapper commentRepository) { _commentRepository = commentRepository; }