public PricesService(IPricesRepository pricesRepository, IPricesCacheRepository pricesCacheRepository, IOptions <PricesSettings> settings) { _pricesRepository = pricesRepository; _pricesCacheRepository = pricesCacheRepository; _settings = settings.Value; }
public PricesController(BdContext context, IMapper mapper, IPricesRepository pricesRepository, IUnitOfWork <Prices> unitOfWork) { _mapper = mapper; _pricesRepository = pricesRepository; _unitOfWorkPrices = unitOfWork; _context = context; }
public PricesService(IPricesRepository PriceRepo, IProductsRepository ProductRepo, ISuppliersRepository SuppliersRepo) { _pricesRepository = PriceRepo; _productsRepository = ProductRepo; _suppliersRepository = SuppliersRepo; }
public DataManager(IPricesRepository pricesRepository, IAdresRepository adresRepository, IContaktnoeLicoRepository contaktnoeLicoRepository, IClientsRepository clientsRepository, IDogovorRepository dogovoraRepository, IZakazyRepository zakazyRepository, IZakazyAdresyRepository zakazyAdresyRepository, IUsersRepository usersRepository, IRazrabotkiRepository razrabotkiRepository) { this.pricesRepository = pricesRepository; this.adresRepository = adresRepository; this.clientsRepository = clientsRepository; this.contaktnoeLicoRepository = contaktnoeLicoRepository; this.dogovoraRepository = dogovoraRepository; this.zakazyRepository = zakazyRepository; this.zakazyAdresyRepository = zakazyAdresyRepository; this.usersRepository = usersRepository; this.razrabotkiRepository = razrabotkiRepository; }
public BlizzardApiService(ILogger <BlizzardApiService> logger, HttpClient httpClient, IItemRepository itemRepository, IPricesRepository pricesRepository) { _logger = logger; _httpClient = httpClient; _itemRepository = itemRepository; _pricesRepository = pricesRepository; _baseUrl = "https://eu.api.blizzard.com"; }
public PricesService( IAssetsServiceWithCache assetsService, IInstrumentsAccessService instrumentsAccessService, IOrderBookService orderBookService, IPricesRepository pricesRepository, ISettingsService settingsService) { _assetsService = assetsService; _instrumentsAccessService = instrumentsAccessService; _orderBookService = orderBookService; _pricesRepository = pricesRepository; _settingsService = settingsService; _latestPrices = new ConcurrentDictionary <string, Price>(); _semaphores = new ConcurrentDictionary <string, SemaphoreSlim>(); _semaphoresLock = new object(); }
public PricesService(IPricesRepository pricesRepository) { _pricesRepository = pricesRepository; }
public LotsService(ILotsRepository lotsRepository, IPricesRepository pricesRepository) { this.lotsRepository = lotsRepository; this.pricesRepository = pricesRepository; }
public PointOfSaleTerminalService(IPricesRepository pricesRepository) { _terminal = new PointOfSaleTerminal(); _pricesRepository = pricesRepository; }
public PricesService(ILogger <PricesService> logger, IPricesRepository pricesRepository) { _logger = logger; _pricesRepository = pricesRepository; }