public UnitOfWork(MovieApiContext context) { _context = context; Movies = new MovieRepository(_context); Users = new UserRepository(_context); WatchLists = new WatchListRepository(_context); }
public UserWatchListsController(IWatchListRepository watchListRepository, IWoWItemRepository itemRepository, IConnectedRealmRepository realmRepository, IMapper mapper) { this.watchListRepository = watchListRepository; this.itemRepository = itemRepository; this.realmRepository = realmRepository; this.mapper = mapper; }
public ProfileController(IProductRepository productRepository, IOfferRepository offerRepository, IWatchListRepository watchListRepository) { _productRepository = productRepository; _offerRepository = offerRepository; _watchListRepository = watchListRepository; }
public GetStockQueryHandler( IStockRepository stockRepository, IWatchListRepository watchListRepository, ICurrentPrincipal currentPrincipal) { this.stockRepository = stockRepository; this.watchListRepository = watchListRepository; this.currentPrincipal = currentPrincipal; }
public MovieController(IMovieRepository movieRepository, IMovieXPathRepository movieXPathRepository, IUnitOfWork unitOfWork, IBannerRepository bannerRepository, IWatchListRepository watchListRepository) { _movieRepository = movieRepository; _movieXPathRepository = movieXPathRepository; _unitOfWork = unitOfWork; _bannerRepository = bannerRepository; _watchListRepository = watchListRepository; }
public WatchListCollection() { db = new WatchListContext(); watchLists = new List <WatchList>(); List <WatchListDto> watchListDtos = db.GetWatchList(); foreach (WatchListDto watchListDto in watchListDtos) { watchLists.Add(new WatchList() { MovieID = watchListDto.MovieID }); } }
public ProductController(IProductRepository productRepository, ICategoryRepository categoryRepository, IWebHostEnvironment environment, IOfferRepository offerRepository, IWatchListRepository watchListRepository, ICommentRepository commentRepository, IBlobService blobService ) { _productRepository = productRepository; _categoryRepository = categoryRepository; _offerRepository = offerRepository; _watchListRepository = watchListRepository; _commentRepository = commentRepository; _blobService = blobService; _hostingEnvironment = environment; }
public DMA10AnalyzerService() { this.watchListRepository = new WatchListRepository(); this.fileDownloadService = new FileDownloadService(); this.stockPriceDataRepository = new StockPriceDataRepository(); }
public DMA10AnalyzerService(IWatchListRepository watchListRepository, IFileDownloadService fileDownloadService, IStockPriceDataRepository stockPriceDataRepository) { this.watchListRepository = watchListRepository; this.fileDownloadService = fileDownloadService; this.stockPriceDataRepository = stockPriceDataRepository; }
public DMA10AnalyzerService() { this.watchListRepository = new WatchListRepository(); this.fileDownloadService = new FileDownloadService(); this.stockPriceDataRepository = new StockPriceDataRepository(); }
public WatchListController(IWatchListRepository watchList, NewtonsoftJsonSerializer serializer, ILogger <WatchListController> log) { _watchList = watchList; _serializer = serializer; _log = log; }
public AddStocksToWatchListCommandHandler(IWatchListRepository watchListRepository) { this.watchListRepository = watchListRepository; }
public GetDefaultWatchListQueryHandler(IWatchListRepository watchListRepository) { this.watchListRepository = watchListRepository; }
public WatchListServices() { this.watchListRepository = new WatchListRepository(); }
public DeleteWatchListCommandHandler(IWatchListRepository watchListRepository) { this.watchListRepository = watchListRepository; }
public WatchListService(IWatchListRepository repository) { this.repository = repository; }
public WatchListService(IWatchListRepository watchListRepository, IStockService stockService) : base(watchListRepository) { _watchListRepository = watchListRepository; _stockService = stockService; }
public WatchListRepositoryTest(DatabaseFixture fixture) { this.databaseFixture = fixture; this.WatchListRepository = new WatchListRepository(this.databaseFixture.dbContext); }
public DMA10AnalyzerService(IWatchListRepository watchListRepository, IFileDownloadService fileDownloadService, IStockPriceDataRepository stockPriceDataRepository) { this.watchListRepository = watchListRepository; this.fileDownloadService = fileDownloadService; this.stockPriceDataRepository = stockPriceDataRepository; }
public WatchListServices(IWatchListRepository watchListRepository) { this.watchListRepository = watchListRepository; }
public WatchListServices() { this.watchListRepository = new WatchListRepository(); }
public WatchListServices(IWatchListRepository watchListRepository) { this.watchListRepository = watchListRepository; }
public WatchListsController(IWatchListRepository watchListRepository, IMapper mapper) { this.watchListRepository = watchListRepository; this.mapper = mapper; }