public UnitOfWork(NewsAnalyzerContext db, INewsRepository newsRepository, IRepository <RssSource> rssRepository, IRepository <User> userRepository, IRepository <Role> roleRepository, IRepository <Comment> commentRepository) { _db = db; _newsRepository = newsRepository; _rssRepository = rssRepository; _userRepository = userRepository; _roleRepository = roleRepository; _commentRepository = commentRepository; }
public GetRefreshTokenByTokenValueQueryHandler(NewsAnalyzerContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public GetOwnNewsUrlQueryHadler(NewsAnalyzerContext context) { _context = context; }
public RssSourceRepository(NewsAnalyzerContext context) : base(context) { _context = context; }
public RegisterUserCommandHandler(NewsAnalyzerContext dbContext) { _dbContext = dbContext; }
public GetCommentsByNewsIdQueryHadler(NewsAnalyzerContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public GetNewsBodyTextQueryHadler(NewsAnalyzerContext dbContext) { _dbContext = dbContext; }
public CommentRepository(NewsAnalyzerContext context) : base(context) { }
public GetUserByEmailQueryHandler(NewsAnalyzerContext dbContext, IMapper mapper) { _mapper = mapper; _dbContext = dbContext; }
protected Repository(NewsAnalyzerContext db) { Db = db; Table = Db.Set <T>(); }
public SetNewsRateCommandHandler(NewsAnalyzerContext dbContext) { _dbContext = dbContext; }
public RoleRepository(NewsAnalyzerContext context) : base(context) { }
public GetUserByRefreshTokenQueryHandler(NewsAnalyzerContext dbContext, IMapper mapper) { _mapper = mapper; _dbContext = dbContext; }
public AddCommentCommandHandler(NewsAnalyzerContext dbContext) { _dbContext = dbContext; }
public UpdateCurrentRefreshTokensCommandHandler(NewsAnalyzerContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public NewsRepository(NewsAnalyzerContext context, IMapper mapper) : base(context) { _context = context; _mapper = mapper; }
public GetRolesQueryHandler(NewsAnalyzerContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public GetTopNNotRatedNewsQueryHadler(NewsAnalyzerContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public GetNewsListQueryHandler(NewsAnalyzerContext dbContext, IMapper mapper, IConfiguration configuration) { _dbContext = dbContext; _mapper = mapper; _configuration = configuration; }
public UserRepository(NewsAnalyzerContext context) : base(context) { _context = context; }
public GetRssSourceByIdQueryHadler(NewsAnalyzerContext context, IMapper mapper) { _context = context; _mapper = mapper; }