public NotificationService(ICommentLikesRepository commentLikesRepository, IMapper mapper, EFDBContext context, ICommentNotificationRepository commentNotificationRepository)
 {
     _commentLikesRepository = commentLikesRepository;
     _mapper  = mapper;
     _context = context;
     _commentNotificationRepository = commentNotificationRepository;
 }
Пример #2
0
 public CommentService(ICommentRepository commentRepository, ICommentLikesRepository commentLikesRepository, ICommentGraphicRepository commentGraphicRepository, IMapper mapper, IHttpContextAccessor httpContextAccessor, IPollVotesRepository pollVotesRepository, IPollCommentRepository pollCommentRepository, IPollOptionRepository pollOptionRepository)
 {
     _commentRepository      = commentRepository;
     _commentLikesRepository = commentLikesRepository;
     _mapper = mapper;
     _httpContextAccessor      = httpContextAccessor;
     _pollVotesRepository      = pollVotesRepository;
     _commentGraphicRepository = commentGraphicRepository;
     _pollCommentRepository    = pollCommentRepository;
     _pollOptionRepository     = pollOptionRepository;
 }