public HomeController(IArticleRepository articleRepository, IArticleTypeRepository articleTypeRepository, IArticleCommentRepository articleCommentRepository, IUserRepository userRepository, IArticleFuRepository articleFuRepository, IArtFabulousRepository artFabulousRepository, IUserAppealRepository userAppealRepository, ICourseRepository courseRepository, IChannelRepository channelRepository, ICourseProcessRepository courseProcessRepository, IChannelMmrRepository channelMmrRepository, IChannelLiessonRepository channelLiessonRepository ) { _articleRepository = articleRepository; _articleTypeRepository = articleTypeRepository; _articleCommentRepository = articleCommentRepository; _userRepository = userRepository; _articleFuRepository = articleFuRepository; _artFabulousRepository = artFabulousRepository; _userAppealRepository = userAppealRepository; _courseRepository = courseRepository; _channelRepository = channelRepository; _courseProcessRepository = courseProcessRepository; _channelMmrRepository = channelMmrRepository; _channelLiessonRepository = channelLiessonRepository; }
public ArticleController(IArticleRepository articleRepository, IArticleCategoryRepository articleCategoryRepository, IArticlePhotoRepository articlePhotoRepository, IArticleCommentRepository articleCommentRepository) { _articleRepository = articleRepository; _articleCategoryRepository = articleCategoryRepository; _articlePhotoRepository = articlePhotoRepository; _articleCommentRepository = articleCommentRepository; }
//DI public ProjectUnitOfWork ( ProjectDbContext _context, IArticleCommentRepository articleComments, IArticleLikeDisslikeRepository articleLikeDisslikes, IArticleRepository articles, IArticleCategoryRepository articleCategories, IAuthorizationAppealRepository authorizationAppeals, IChatCommentRepository chatComments, IChatRepository chats, IFavoriteRepository favorites, ITopicCommentRepository topicComments, ITopicRepository topics, IUserHistoryRepository userHistories, IUserRepository users ) : base(_context) { ArticleComments = articleComments; ArticleLikeDisslikes = articleLikeDisslikes; Articles = articles; ArticleCategories = articleCategories; AuthorizationAppeals = authorizationAppeals; ChatComments = chatComments; Chats = chats; Favorites = favorites; TopicComments = topicComments; Topics = topics; UserHistories = userHistories; Users = users; }
public ActicleCommentService(IArticleCommentRepository articleDal, IArticleRepository articleRepository, IMessageRemindRepository messageRemindRepository, IArticleLikeRepository articleLikeRepository, IArticleReplyCommentRepository articleReplyCommentRepository) { _acticleCommentRepository = articleDal; _articleRepository = articleRepository; _messageRemindRepository = messageRemindRepository; _articleLikeRepository = articleLikeRepository; _articleReplyCommentRepository = articleReplyCommentRepository; }
public ArticleCommentController( IRepositoryFactory repositoryFactory, IMapper mapper, IErrorText errorGenerator) { _repositoryFactory = repositoryFactory; _repository = _repositoryFactory.ArticleCommentRepository; _mapper = mapper; _errorGenerator = errorGenerator; }
public CommentService( INewsCommentRepository newsRepository, IArticleCommentRepository articleRepository, IBookCommentRepository bookRepository, IVideoCommentRepository videoRepository, IUserRepository userRepository) { _articleRepository = articleRepository; _newsRepository = newsRepository; _bookRepository = bookRepository; _videoRepository = videoRepository; _userRepository = userRepository; }
public ArticleCommentController(IArticleCommentRepository articleCommentRepository, IArticleRepository articleRepository) { _articleCommentRepository = articleCommentRepository; _articleRepository = articleRepository; }
public CommentService(IArticleCommentRepository commentRepository, ICommentReplyRepository commentReplyRepository) { _commentRepository = commentRepository; BaseRepository = commentRepository; _commentReplyRepository = commentReplyRepository; }
public ArticleCommentController(IArticleCommentRepository articleCommentRepository) { _articleCommentRepository = articleCommentRepository; _articleCommentRepository.Context = rc; }