public HashtagController(SocialMediaContext context, IMapper mapper, IHashtagService hashtagService, ITweetService tweetService)
 {
     _context        = context;
     _mapper         = mapper;
     _hashtagService = hashtagService;
     _tweetService   = tweetService;
 }
예제 #2
0
 public TweetService(SocialMediaContext context, IHashtagService hashtagService, IUserService userService, ILogger <UserService> logger)
 {
     _context        = context;
     _hashtagService = hashtagService;
     _userService    = userService;
     _logger         = logger;
 }
예제 #3
0
 public HashtagController(IHashtagService hashtagService, ITweetService tweetService, IMapper mapper, ILogger <HashtagController> logger)
 {
     _hashtagService = hashtagService;
     _tweetService   = tweetService;
     _mapper         = mapper;
     _logger         = logger;
 }
예제 #4
0
 private void InvalidateServices()
 {
     _userService    = new UserService(_user);
     _searchService  = new SearchService(_user);
     _actionService  = new ActionsService(_user);
     _hashtagService = new HashtagService(_user);
     _mediaService   = new MediaService(_user);
 }
 public TweetsController(IMapper mapper, SocialMediaContext context, ITweetService tweetService, IHashtagService hashtagService, IUserService userService)
 {
     _mapper         = mapper;
     _context        = context;
     _tweetService   = tweetService;
     _hashtagService = hashtagService;
     _userService    = userService;
 }
예제 #6
0
 public PostService(IMapper mapper, IRepository <Post> repository,
                    QueryObjectBase <PostDto, Post, PostFilterDto, IQuery <Post> > postQueryObject,
                    IHashtagService hashtagService,
                    IUserService userService,
                    IFriendshipService friendshipService)
     : base(mapper, repository, postQueryObject)
 {
     this.hashtagService    = hashtagService;
     this.userService       = userService;
     this.friendshipService = friendshipService;
 }
 public PostFacade(IUnitOfWorkProvider unitOfWorkProvider,
                   IPostService postService, IPostReplyService postReplyService, IFriendshipService friendshipService,
                   IVoteService voteService, IImageService imageService,
                   IHashtagService hashtagService)
     : base(unitOfWorkProvider)
 {
     this.postService       = postService;
     this.voteService       = voteService;
     this.imageService      = imageService;
     this.postReplyService  = postReplyService;
     this.hashtagService    = hashtagService;
     this.friendshipService = friendshipService;
 }
예제 #8
0
 public ValidateService(IUserService userService, IHashtagService hashtagService, ILogger <ValidateService> logger)
 {
     _userService    = userService;
     _hashtagService = hashtagService;
     _logger         = logger;
 }
예제 #9
0
 public TweetService(SocialMediaContext context, IUserService userService, IHashtagService hashtagService)
 {
     _context        = context;
     _userService    = userService;
     _hashtagService = hashtagService;
 }
 public ValidationController(SocialMediaContext socialMediaContext, IHashtagService hashtagService, IUserService userService)
 {
     _socialMediaContext = socialMediaContext;
     _hashtagService     = hashtagService;
     _userService        = userService;
 }