Ejemplo n.º 1
0
 public EtlController(IHtmlExtractor htmlExtractor, IHtmlTransformer htmlTransformer, IHtmlLoader htmlLoader, ReviewsDbContext reviewsDbContext)
 {
     _htmlExtractor    = htmlExtractor;
     _htmlTransformer  = htmlTransformer;
     _htmlLoader       = htmlLoader;
     _reviewsDbContext = reviewsDbContext;
 }
Ejemplo n.º 2
0
 public SearchHelper()
 {
     _reviewsDb = new ReviewsDbContext();
     _reportsDb = new BugReportsDbContext();
     _blogDb    = new BlogDbContext();
     _results   = new List <SearchResult>();
 }
Ejemplo n.º 3
0
 public ReviewService(ReviewsDbContext db,
                      ICurrentUserService user,
                      IMapper mapper,
                      IBus publisher)
 {
     this.db        = db;
     this.user      = user;
     this.mapper    = mapper;
     this.publisher = publisher;
 }
Ejemplo n.º 4
0
 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();
 }
Ejemplo n.º 6
0
 public HtmlLoader(ReviewsDbContext reviewsDbContext)
 {
     _reviewsDbContext = reviewsDbContext;
 }
 public ReviewsQueries(ReviewsDbContext db) => _db = db;
Ejemplo n.º 8
0
 public HomeController()
 {
     _blogDb       = new BlogDbContext();
     _bugReportsDb = new BugReportsDbContext();
     _reviewsDb    = new ReviewsDbContext();
 }