public SalesController(IClientRepository clientRepository, ISaleRepository saleRepository, ILotteryRepository lotteryRepository) { _clientRepository = clientRepository; _saleRepository = saleRepository; _lotteryRepository = lotteryRepository; }
public IncomingCommandHandler(ISaleRepository saleRepository, IOutletRepository outletRepository, ISaleProductRepository saleProductRepository, IInventoryRepository inventoryRepository, IReturnableProductRepository returnableProductRepository) { this.saleRepository = saleRepository; this.outletRepository = outletRepository; this.saleProductRepository = saleProductRepository; this.inventoryRepository = inventoryRepository; this.returnableProductRepository = returnableProductRepository; }
public LotteryNumbersController(IPrizeRepository prizeRepository, ISaleRepository saleRepository, ILotteryRepository lotteryRepository, ILotteryNumberRepository lotterynumberRepository) { _prizeRepository = prizeRepository; _saleRepository = saleRepository; _lotteryRepository = lotteryRepository; _lotterynumberRepository = lotterynumberRepository; }
public ProgramService(IProgramRepository iProgramRepository, IHelper iHelper, IProductRepository iProductRepository, ISaleRepository iSaleRepository, IScheduleRepository iScheduleRepository) { _iProgramRepository = iProgramRepository; _iHelper = iHelper; _iProductRepository = iProductRepository; _iSaleRepository = iSaleRepository; _iScheduleRepository = iScheduleRepository; }
public SaleService(ISaleRepository saleRepo, IProductRepository productRepo, ISalesRepresentativeRepository salerepRepo) { if (saleRepo == null) throw new ArgumentNullException(nameof(saleRepo)); if (productRepo == null) throw new ArgumentNullException(nameof(productRepo)); if (salerepRepo == null) throw new ArgumentNullException(nameof(salerepRepo)); SaleRepository = saleRepo; ProductRepository = productRepo; SalesRepRepository = salerepRepo; }
public LotteryStoreController( ILotteryRepository lotteryRepository, IClientRepository clientRepository, ILotteryNumberRepository lotteryNumberRepository, IPrizeRepository prizeRepository, ISaleRepository saleRepository, IRaffleRepository raffleRepository) { _lotteryRepository = lotteryRepository; _clientRepository = clientRepository; _lotteryNumberRepository = lotteryNumberRepository; _prizeRepository = prizeRepository; _saleRepository = saleRepository; _raffleRepository = raffleRepository; }
public PredictionService(IProgramRepository iProgramRepository, IProductRepository iProductRepository, IScheduleRepository iScheduleRepository, ISaleRepository iSaleRepository, ICategoryRepository iCategoryRepository) { _iProgramRepository = iProgramRepository; _iScheduleRepository = iScheduleRepository; _iSaleRepository = iSaleRepository; _iCategoryRepository = iCategoryRepository; _iProductRepository = iProductRepository; allPrograms = _iProgramRepository.All.ToList(); allProducts = _iProductRepository.All.ToList(); allCategorys = _iCategoryRepository.All.ToList(); allSales = _iSaleRepository.All.ToList(); allSchedules = _iScheduleRepository.All.ToList(); }
public SaleItemController(ISaleRepository saleRepository, IProductRepository productRepository) { _salesRepository = saleRepository; _productRepository = productRepository; }
public GeneralLibraryLogic(IUserRepository userRep, IGenreRepository genreRep, IGeneralRepository generalRep, IBookRepository bookRep, IJournalRepository journalRep, ISaleRepository saleRep) { _generalRep = generalRep; _userRep = userRep; _generalRep = generalRep; _genreRep = genreRep; _bookRep = bookRep; _journalRep = journalRep; _saleRep = saleRep; _saleService = new SaleService(_saleRep); _userValidity = new UserValidity(_userRep, _generalRep); _bookService = new BookService(_bookRep, _genreRep, _saleService); _journalService = new JournalService(_journalRep, _genreRep, _saleService); _genereService = new GenreService(_genreRep, _generalRep); _libraryQueries = new LibraryQueries(_bookRep, _journalRep); }
public SalesController(ISaleRepository saleRepository) { this.saleRepository = saleRepository; }
public HavanService(IProductRepository productRepository, ILogger logger, IUserRepository userRepository, IShopUserRepository shopUserRepository, IShopRepository shopRepository, IUserStatusRepository userStatusRepository, IUserStatusLogRepository userStatusLogRepository, IOfficeRepository officeRepository, ISaleFileRepository saleFileRepository, ISaleFileDataRepository saleFileDataRepository, IFileStatusRepository fileStatusRepository, ISaleFileSkuStatusRepository saleFileSkuStatusRepository, ISaleRepository saleRepository, INetworkRepository networkRepository, IUnitOfWork unitOfWork) { _logger = logger; _productRepository = productRepository; _userRepository = userRepository; _shopUserRepository = shopUserRepository; _shopRepository = shopRepository; _userStatusRepository = userStatusRepository; _userStatusLogRepository = userStatusLogRepository; _officeRepository = officeRepository; _saleFileRepository = saleFileRepository; _saleFileDataRepository = saleFileDataRepository; _fileStatusRepository = fileStatusRepository; _saleFileSkuStatusRepository = saleFileSkuStatusRepository; _saleRepository = saleRepository; _networkRepository = networkRepository; _unitOfWork = unitOfWork; }
public AbstractApiSaleRequestModelValidator(ISaleRepository saleRepository) { this.saleRepository = saleRepository; }
public SaleFeature(ISaleRepository repository) { _repository = repository; }
public SaleService(ISaleRepository saleRepository, IUnitOfWork unitOfWork) { _saleRepository = saleRepository; _unitOfWork = unitOfWork; }
public SaleService(ISaleRepository repo, ICashbackService cashbackService, IAlbumService albumService) { _repo = repo; _cashbackService = cashbackService; _albumService = albumService; }
public StatisticController(ISaleRepository saleRepository, ICommonMapper mapper) { this.saleRepository = saleRepository; this.mapper = mapper; }
public SalesController(ISaleRepository repository) { _repository = repository; }
public SaleService(ISaleRepository saleRepository, IMapper mapper) { _saleRepository = saleRepository; _mapper = mapper; }
/// <summary> /// Injecting the SaleRepository here /// </summary> /// <param name="saleRepository"></param> public PortFolioController(ISaleRepository saleRepository, ICustomerRepository customerRepository) { _saleRepository = saleRepository; _customerRepository = customerRepository; }
public SaleService(ISaleRepository saleRepository, ISaleItemRepository saleItemRepository, ITrackRepository trackRepository) { _saleRepository = saleRepository; _saleItemRepository = saleItemRepository; _trackRepository = trackRepository; }
public GetSaleDetailQuery(ISaleRepository repository) { _repository = repository; }
public PresenterAddSale(ISaleRepository IsaleR, IAddSaleView view) { saleService = new SaleService(IsaleR); _view = view; }
public SaleService(ISaleRepository saleRepository) { _saleRepository = saleRepository; }
public SaleAppService(IMapper mapper, ISaleRepository saleRepository) { _mapper = mapper; _saleRepository = saleRepository; }
public SaleController(ISaleRepository saleRepository) { this.saleRepository = saleRepository; }
public ApiSaleRequestModelValidator(ISaleRepository saleRepository) : base(saleRepository) { }
public SaleService(ISaleRepository saleRepository, IValidator <Sale> saleValidator) : base(saleRepository) { SaleValidator = saleValidator; }
public SaleController(ISaleRepository sale, IMapper mapper) { this._sale = sale; this._mapper = mapper; }
public CourierService(ICustomerRepository customerRepository, ICourierEmployeeRepository courierEmployeeRepository, ICourierRepository courierRepository, IEmployeeRepository employeeRepository, ISaleRepository saleRepository, IUnitOfWork uow, IBonusComissionRepository bonusComissionRepository, IProductSaleDetailRepository productSaleDetailRepository, ICreditSaleDetailRepository creditSaleDetailRepository, IUncreditSaleDetailRepository uncreditSaleDetailRepository) { _customerRepository = customerRepository; _courierEmployeeRepository = courierEmployeeRepository; _courierRepository = courierRepository; _employeeRepository = employeeRepository; _saleRepository = saleRepository; _bonusComissionRepository = bonusComissionRepository; _productSaleDetailRepository = productSaleDetailRepository; _creditSaleDetailRepository = creditSaleDetailRepository; _uncreditSaleDetailRepository = uncreditSaleDetailRepository; _uow = uow; }
public static async Task <IResult> GetSales(ISaleRepository saleRepository) { var models = await saleRepository.GetAsync(); return(Results.Ok(models)); }
public SaleService() : base(new SaleRepository()) { _saleRepository = new SaleRepository(); _logger = new ErrorLogRepository(); }
public SaleService(ISaleRepository repository, IItemSaleRepository itemSaleRepository) : base(repository) { _itemSaleRepository = itemSaleRepository; }
/// <summary> /// A constructor that requires a repository as a parameter. /// </summary> /// <param name="saleRepository">Repository to be used.</param> public SaleService(ISaleRepository saleRepository) { _saleRepository = saleRepository; }
public SaleLeadService(ISaleLeadRepository repoSaleLead, ISalePositionLeadRepository repoSalePositionLead, ISalePositionLeadActionRepository repoSalePositionLeadAction, IEmployeeInPositionRepository repoEmployeeInPosition, ICustomerRepository repoCustomer, ISaleRepository repoSale, ISaleLeadStateRepository repoSaleLeadState) { _repoSaleLead = repoSaleLead; _repoSalePositionLead = repoSalePositionLead; _repoSalePositionLeadAction = repoSalePositionLeadAction; _repoEmployeeInPosition = repoEmployeeInPosition; _repoCustomer = repoCustomer; _repoSale = repoSale; _repoSaleLeadState = repoSaleLeadState; }
public SaleController(ISaleRepository repository) { this.repository = repository; }
public SaleService(ISaleRepository iSaleRepository, IHelper iHelper) { _iSaleRepository = iSaleRepository; _iHelper = iHelper; }
public SaleService(IUnitOfWork unitOfWork, ISaleRepository saleRepository) { this.unitOfWork = unitOfWork; this.saleRepository = saleRepository; }
public SyncService() { saleRepository = new JSONSaleRepository(); saleService = new SaleService(); }
public SaleService() { saleRepository = new JSONSaleRepository(); }
public SaleController(ISaleRepository saleRepository, ICustomerRepository customerRepository) { _salesRepository = saleRepository; _customerRepository = customerRepository; }
public SaleService(ISaleRepository saleRepository, IProductRepository productRepository, IUserPreferencesRepository userPreferencesRepository) { _saleRepository = saleRepository; _productRepository = productRepository; _userPreferencesRepository = userPreferencesRepository; }
public SaleController(ISaleRepository saleRepos) { this.repository = saleRepos; }
/// <summary> /// Injecting the SaleRepository here /// </summary> /// <param name="saleRepository"></param> public PortFolioController(ISaleRepository saleRepository) { _saleRepository = saleRepository; }
public SaleService(ISaleRepository repository) { _repository = repository; }
public HomeController(IFruitRepository fruitRepository, ISaleRepository salesRepository) { this.fruitRepository = fruitRepository; this.salesRepository = salesRepository; }