public MainController(IPostService postService, IMapper mapper, ICategoryService categoryService, ITagService tagService, IPostTagService postTagService, IUserService userService, ICommentService commentService, IProfilService profileService, ILikeService likeService, IPostRatingService postRatingService) { this.postService = postService; this.mapper = mapper; this.categoryService = categoryService; this.tagService = tagService; this.postTagService = postTagService; this.userService = userService; this.commentService = commentService; this.profileService = profileService; this.likeService = likeService; this.postRatingService = postRatingService; }
public RatingController(IPostRatingService postRating, ICommentRatingService commentRating) { _postRating = postRating; _commentRating = commentRating; }
public RatingComponent(IPostRatingService postRating, ICommentRatingService commentRating) { _postRating = postRating; _commentRating = commentRating; }