Exemple #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;
 }
Exemple #2
0
 public TagController(
     ITagService tagService,
     IFanficTagsService fanficTagsService,
     IFanficService fanficService,
     SignInManager <ApplicationUser> signInManager,
     IMapper mapper)
 {
     _tagService            = tagService;
     _fanficService         = fanficService;
     _authenticationManager = signInManager;
     _fanficTagsService     = fanficTagsService;
     _mapper = mapper;
 }