public PostReactionsController(ILogger <PostReactionsController> logger, IPostService postService, IUserService userService, IPostReactionService postReactionService) { _logger = logger; _postService = postService; _userService = userService; _postReactionService = postReactionService; _logger.LogTrace("PostReactionController created"); }
public PostsController( IPostsService postsService, IUserService userService, INotificationService notificationService, IPostReactionService postReactionService, IHubContext <NotificationHub> notificationHub) { _postsService = postsService; _userService = userService; _notificationService = notificationService; _postReactionService = postReactionService; _notificationHub = notificationHub; }