public PostController(ICommunityService communityService, IPostService postService, UserManager <ApplicationUser> userManager, ICommentService commentService, ICommentStateService CommentStateService, IPostStateService PostStateService) { _communityService = communityService; _postService = postService; _userManager = userManager; _commentService = commentService; _CommentStateService = CommentStateService; _PostStateService = PostStateService; }
public CommentService(ICommentStateService commentStateService, ICommentsRepository commentRepository, ICommentActionsRepository commentActionsRepository, IRelatedCommentsRepository relatedCommentsRepository) { this._commentStateService = commentStateService; this._commentRepository = commentRepository; this._commentActionsRepository = commentActionsRepository; this._relatedCommentsRepository = relatedCommentsRepository; }