Пример #1
0
 public UserService(IUserRepository userRepository,
                    IHttpContextAccessor httpContextAccessor,
                    IConfiguration configuration,
                    IAccountRepository accountRepository,
                    IPostRepository postRepository,
                    IClientGroupRepository clientGroupRepository,
                    IFieldRepository fieldRepository,
                    IFollowRepository followRepository,
                    IMapper mapper,
                    IObjectLevelRepository objectLevelRepository,
                    INotificationObjectRepository notificationObjectRepository,
                    IFcmRepository fcmRepository,
                    ILevelRepository levelRepository, ISearchHistoryRepository searchHistoryRepository)
 {
     this.userRepository        = userRepository;
     _httpContextAccessor       = httpContextAccessor;
     _configuration             = configuration;
     this.accountRepository     = accountRepository;
     this.postRepository        = postRepository;
     this.clientGroupRepository = clientGroupRepository;
     this.fieldRepository       = fieldRepository;
     this.followRepository      = followRepository;
     this.mapper = mapper;
     this.objectLevelRepository        = objectLevelRepository;
     this.notificationObjectRepository = notificationObjectRepository;
     this.fcmRepository           = fcmRepository;
     this.levelRepository         = levelRepository;
     this.searchHistoryRepository = searchHistoryRepository;
 }
Пример #2
0
 public CommentService(IHttpContextAccessor httpContextAccessor,
                       IUserRepository userRepository,
                       IPostRepository postRepository,
                       ICommentRepository commentRepository,
                       IReplyCommentRepository replyCommentRepository,
                       IDownVoteRepository downVoteRepository,
                       IUpVoteRepository upVoteRepository,
                       IFcmRepository fcmRepository,
                       IMapper mapper,
                       INotificationObjectRepository notificationObjectRepository,
                       IObjectLevelRepository objectLevelRepository,
                       ILevelRepository levelRepository,
                       IUserService userService,
                       IViolenceWordRepository violenceWordRepository)
 {
     this.httpContextAccessor    = httpContextAccessor;
     this.userRepository         = userRepository;
     this.postRepository         = postRepository;
     this.commentRepository      = commentRepository;
     this.replyCommentRepository = replyCommentRepository;
     this.downVoteRepository     = downVoteRepository;
     this.upVoteRepository       = upVoteRepository;
     this.fcmRepository          = fcmRepository;
     this.mapper = mapper;
     this.notificationObjectRepository = notificationObjectRepository;
     this.objectLevelRepository        = objectLevelRepository;
     this.levelRepository        = levelRepository;
     this.userService            = userService;
     this.violenceWordRepository = violenceWordRepository;
 }
Пример #3
0
 public UserConvertAction(IPostRepository postRepository, IUserRepository userRepository, IFollowRepository followRepository, IObjectLevelRepository objectLevelRepository, IMapper mapper)
 {
     this.postRepository        = postRepository;
     this.userRepository        = userRepository;
     this.followRepository      = followRepository;
     this.objectLevelRepository = objectLevelRepository;
     this.mapper = mapper;
 }
Пример #4
0
 public LevelService(ILevelRepository levelRepository, IObjectLevelRepository objectLevelRepository, IUserRepository userRepository, IFieldRepository fieldRepository, IMapper mapper, IPostRepository postRepository, IHttpContextAccessor httpContextAccessor)
 {
     this.levelRepository       = levelRepository;
     this.objectLevelRepository = objectLevelRepository;
     this.userRepository        = userRepository;
     this.fieldRepository       = fieldRepository;
     this.mapper              = mapper;
     this.postRepository      = postRepository;
     this.httpContextAccessor = httpContextAccessor;
 }
Пример #5
0
 public PostConvertAction(IUserRepository userRepository,
                          IUpVoteRepository upVoteRepository,
                          IDownVoteRepository downVoteRepository,
                          ICommentRepository commentRepository,
                          IHttpContextAccessor httpContextAccessor,
                          IObjectLevelRepository objectLevelRepository,
                          IMapper mapper,
                          IClientGroupRepository clientGroupRepository)
 {
     this.userRepository        = userRepository;
     this.upVoteRepository      = upVoteRepository;
     this.downVoteRepository    = downVoteRepository;
     this.commentRepository     = commentRepository;
     this.httpContextAccessor   = httpContextAccessor;
     this.objectLevelRepository = objectLevelRepository;
     this.mapper = mapper;
     this.clientGroupRepository = clientGroupRepository;
 }
Пример #6
0
 public PostService(IHttpContextAccessor httpContextAccessor,
                    IConfiguration configuration,
                    IUserRepository userRepository,
                    IPostRepository postRepository,
                    IFollowRepository followRepository,
                    IUpVoteRepository upVoteRepository,
                    IDownVoteRepository downVoteRepository,
                    IFcmRepository fcmRepository,
                    IMapper mapper,
                    IObjectLevelRepository objectLevelRepository,
                    ILevelService levelService,
                    IFieldGroupRepository fieldGroupRepository,
                    ILevelRepository levelRepository,
                    IMessageService messageService,
                    IConversationService conversationService,
                    ICommentRepository commentRepository,
                    IReplyCommentRepository replyCommentRepository,
                    IViolenceWordRepository violenceWordRepository,
                    IUserService userService,
                    ISearchHistoryRepository searchHistoryRepository)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.configuration       = configuration;
     this.userRepository      = userRepository;
     this.postRepository      = postRepository;
     this.followRepository    = followRepository;
     this.upVoteRepository    = upVoteRepository;
     this.downVoteRepository  = downVoteRepository;
     this.fcmRepository       = fcmRepository;
     this.mapper = mapper;
     this.objectLevelRepository   = objectLevelRepository;
     this.levelService            = levelService;
     this.fieldGroupRepository    = fieldGroupRepository;
     this.levelRepository         = levelRepository;
     this.messageService          = messageService;
     this.conversationService     = conversationService;
     this.commentRepository       = commentRepository;
     this.replyCommentRepository  = replyCommentRepository;
     this.violenceWordRepository  = violenceWordRepository;
     this.userService             = userService;
     this.searchHistoryRepository = searchHistoryRepository;
 }