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