Beispiel #1
0
 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;
 }
Beispiel #2
0
 public RatingController(IPostRatingService postRating,
                         ICommentRatingService commentRating)
 {
     _postRating    = postRating;
     _commentRating = commentRating;
 }
Beispiel #3
0
 public RatingComponent(IPostRatingService postRating, ICommentRatingService commentRating)
 {
     _postRating    = postRating;
     _commentRating = commentRating;
 }