/// <summary> /// Create new instance. /// </summary> public ReactionService(INotificationService notificationService, IBlobStorageService blobStorageService, IEntityStorageUriService entityStorageUriService, IReactionRepository reactionRepository, IVlogRepository vlogRepository) { _notificationService = notificationService ?? throw new ArgumentNullException(nameof(notificationService)); _blobStorageService = blobStorageService ?? throw new ArgumentNullException(nameof(blobStorageService)); _entityStorageUriService = entityStorageUriService ?? throw new ArgumentNullException(nameof(entityStorageUriService)); _reactionRepository = reactionRepository ?? throw new ArgumentNullException(nameof(reactionRepository)); _vlogRepository = vlogRepository ?? throw new ArgumentNullException(nameof(vlogRepository)); }
public ReactionsController( IReactionRepository reactionRepository, IReactionTypeRepository reactionTypeRepository, IPostRepository postRepository, IUserRepository userRepository, IMapper mapper ) { _reactionRepository = reactionRepository; _reactionTypeRepository = reactionTypeRepository; _postRepository = postRepository; _userRepository = userRepository; _mapper = mapper; }
public QuestionController(IQuestionsRepository questionsRepository, IQuestionRecommendation questionRecommendation, ITagsRepository tagsRepository, ITagPostRepository tagPostRepository, IUserConnectionManager userConnectionManager, IReactionRepository reactionRepository, IUsersRepository usersRepository, ApplicationDbContext context) { this.questionsRepository = questionsRepository; this.questionRecommendation = questionRecommendation; this.tagsRepository = tagsRepository; this.tagPostRepository = tagPostRepository; this.notificationRepository = new NotificationRepository(context, userConnectionManager); this.reactionRepository = reactionRepository; this.usersRepository = usersRepository; }
public QuestionsRepository(IReactionRepository reactionRepository, ApplicationDbContext applicationDbContext) { this.applicationDbContext = applicationDbContext; this.reactionRepository = reactionRepository; }
public PostController(IPostRepository postRepository, ICategoryRepository categoryRepository, ISubscriptionRepository subscriptionRepository, IPostReactionRepository postReactionRepository, IReactionRepository reactionRepository, ITagRepository tagRepository) { _postRepository = postRepository; _categoryRepository = categoryRepository; _tagRepository = tagRepository; _subscriptionRepository = subscriptionRepository; _postReactionRepository = postReactionRepository; _reactionRepository = reactionRepository; }
public MessagesLogic(IMessagesRepository messagesRepository, IReactionRepository reactionRepository) { this.messagesRepository = messagesRepository; this.reactionRepository = reactionRepository; }
public AlchemyService(IMapper mapper, IAlchemySymbolRepository alchemySymbolRepository, IReactionRepository reactionRepository, IPotionRepository potionRepository) : base(mapper) { _alchemySymbolRepository = alchemySymbolRepository; _reactionRepository = reactionRepository; _potionRepository = potionRepository; }
public ReactionService(IReactionRepository reactionRepository) { this.reactionRepository = reactionRepository; }
public ReactionsController(ITypeOfReactionRepository typeOfReactionRepository, IHttpContextAccessor contextAccessor, IMapper mapper, IReactionRepository reactionRepository, IProductMockRepository productMockRepository, Logger logger) { this.reactionRepository = reactionRepository; this.productMockRepository = productMockRepository; this.mapper = mapper; this.logger = logger; this.contextAccessor = contextAccessor; this.typeOfReactionRepository = typeOfReactionRepository; }
public ReactionController(IPostReactionRepository postReactionRepository, IReactionRepository reactionRepository) { _postReactionRepository = postReactionRepository; _reactionRepository = reactionRepository; }
public ThreadsLogic(IThreadsRepository threadsRepository, IReactionRepository reactionRepository) { this.threadsRepository = threadsRepository; this.reactionRepository = reactionRepository; }
public ReactionService(IReactionRepository repository) { _repository = repository; }
public ReactionController(IReactionRepository reactionRepository, IProfileRepository profileRepository) { _reactionRepository = reactionRepository; _profileRepository = profileRepository; }
public ReactionController(IPostReactionRepository postReactionRepository, IReactionRepository reactionRepository, IUserProfileRepository userProfileRepository) { _reactionRepository = reactionRepository; _postReactionRepository = postReactionRepository; _userProfileRepository = userProfileRepository; }