public EtlController(IHtmlExtractor htmlExtractor, IHtmlTransformer htmlTransformer, IHtmlLoader htmlLoader, ReviewsDbContext reviewsDbContext) { _htmlExtractor = htmlExtractor; _htmlTransformer = htmlTransformer; _htmlLoader = htmlLoader; _reviewsDbContext = reviewsDbContext; }
public SearchHelper() { _reviewsDb = new ReviewsDbContext(); _reportsDb = new BugReportsDbContext(); _blogDb = new BlogDbContext(); _results = new List <SearchResult>(); }
public ReviewService(ReviewsDbContext db, ICurrentUserService user, IMapper mapper, IBus publisher) { this.db = db; this.user = user; this.mapper = mapper; this.publisher = publisher; }
public AdminController() { ViewModel = new AdminPanelViewModel(); ViewModel.BugReports = new List <BugReport>(); ViewModel.Reviews = new List <Review>(); ViewModel.BlogPosts = new List <BlogPost>(); ViewModel.Users = new List <ApplicationUser>(); _appDb = new ApplicationDbContext(); _blogDb = new BlogDbContext(); _bugReportsDb = new BugReportsDbContext(); _reviewsDb = new ReviewsDbContext(); }
public FeedbackController() { _reports = new BugReportsDbContext(); _reviews = new ReviewsDbContext(); }
public HtmlLoader(ReviewsDbContext reviewsDbContext) { _reviewsDbContext = reviewsDbContext; }
public ReviewsQueries(ReviewsDbContext db) => _db = db;
public HomeController() { _blogDb = new BlogDbContext(); _bugReportsDb = new BugReportsDbContext(); _reviewsDb = new ReviewsDbContext(); }