Пример #1
0
 public FanficController(
     IFanficService fanficService,
     IFanficTagsService fanficTagsService,
     IChapterService chapterService,
     IChapterRatingService chapterRatingService,
     ICommentService commentService,
     ICommentRatingService commentRatingService,
     IGenreService genreService,
     ITagService tagService,
     SignInManager <ApplicationUser> authManager,
     IUserService userService,
     IMapper mapper)
 {
     _fanficService         = fanficService;
     _fanficTagsService     = fanficTagsService;
     _chapterService        = chapterService;
     _chapterRatingService  = chapterRatingService;
     _commentService        = commentService;
     _commentRatingService  = commentRatingService;
     _genreService          = genreService;
     _tagService            = tagService;
     _userService           = userService;
     _authenticationManager = authManager;
     _mapper = mapper;
 }
Пример #2
0
 public CommentController(
     IFanficService fanficService,
     ICommentService commentService,
     ICommentRatingService commentRatingService,
     SignInManager <ApplicationUser> authManager,
     IUserService userService,
     IMapper mapper)
 {
     _fanficService         = fanficService;
     _commentService        = commentService;
     _commentRatingService  = commentRatingService;
     _userService           = userService;
     _authenticationManager = authManager;
     _mapper = mapper;
 }
Пример #3
0
 public RatingController(IPostRatingService postRating,
                         ICommentRatingService commentRating)
 {
     _postRating    = postRating;
     _commentRating = commentRating;
 }
Пример #4
0
 public RatingComponent(IPostRatingService postRating, ICommentRatingService commentRating)
 {
     _postRating    = postRating;
     _commentRating = commentRating;
 }