//Constructor public MovieController() { _MovieRep = new MovieRepository(new MovieContext()); _ProRep = new ProducerRepository(new ProducerContext()); _ActRep = new ActorRepository(new ActorContext()); _MovActRep = new MovieActorRepository(new MovieActorContext(), new MovieActorModel()); }
public CompleteDraftImportNotificationHandler(IValidator <ImportNotification> importNotificationValidator, IDraftImportNotificationRepository draftImportNotificationRepository, IMapper mapper, IImportNotificationRepository importNotificationRepository, IImportNotificationAssessmentRepository importNotificationAssessmentRepository, IExporterRepository exporterRepository, IFacilityRepository facilityRepository, IImporterRepository importerRepository, IProducerRepository producerRepository, IShipmentRepository shipmentRepository, ITransportRouteRepository transportRouteRepository, IWasteOperationRepository wasteOperationRepository, IWasteTypeRepository wasteTypeRepository, ImportNotificationContext context) { this.importNotificationValidator = importNotificationValidator; this.draftImportNotificationRepository = draftImportNotificationRepository; this.mapper = mapper; this.importNotificationRepository = importNotificationRepository; this.importNotificationAssessmentRepository = importNotificationAssessmentRepository; this.exporterRepository = exporterRepository; this.facilityRepository = facilityRepository; this.importerRepository = importerRepository; this.producerRepository = producerRepository; this.shipmentRepository = shipmentRepository; this.transportRouteRepository = transportRouteRepository; this.wasteOperationRepository = wasteOperationRepository; this.wasteTypeRepository = wasteTypeRepository; this.context = context; }
public MoviesController() { _context = new MovContext(); _producerRepository = new ProducerRepository(_context); _actorRepository = new ActorRepository(_context); _movieRepository = new MovieRepository(_context); }
public GetProducerForNotificationHandler(IwsContext context, IMapWithParentObjectId <Producer, ProducerData> mapper, IProducerRepository repository) { this.context = context; this.mapper = mapper; this.repository = repository; }
public UnitOfWorkMemory() { context = new VideoAppContext(); context.Database.EnsureCreated(); VideoRepository = new VideoRepository(context); GenreRepository = new GenreRepository(context); ProducerRepository = new ProducerRepository(context); }
public GetProducerReportHandler(IProducerRepository repository, IUserContext userContext, IInternalUserRepository internalUserRepository) { this.repository = repository; this.userContext = userContext; this.internalUserRepository = internalUserRepository; }
public ProductService(IProductRepository productRepository, IProducerRepository producerRepository, ICategoryRepository categoryRepository, IFileRepository fileRepository, IMapper mapper) { _productRepository = productRepository; _producerRepository = producerRepository; _categoryRepository = categoryRepository; _fileRepository = fileRepository; _mapper = mapper; }
//private readonly IActorMovieRepository _actorMovieRepository; //private readonly IProducerMovieRepository _producerMovieRepository; public MoviesController(IProducerRepository producerRepository, IMovieRepository movieRepository, IActorRepository actorRepository) { _movieRepository = movieRepository; _actorRepository = actorRepository; _producerRepository = producerRepository; //_actorMovieRepository = actorMovieRepository; //_producerMovieRepository = producerMovieRepository; }
public ProducersController() { var context = new MovContext(); _producerRepository = new ProducerRepository(context); _actorRepository = new ActorRepository(context); _movieRepository = new MovieRepository(context); }
public AddProducerToNotificationHandler(IwsContext context, ICountryRepository countryRepository, IProducerRepository repository) { this.context = context; this.repository = repository; this.countryRepository = countryRepository; }
public ProductService(IProductRepository productRepository, ICacheManager cacheManager, IProductCategoryRepository categoryRepository, IProducerRepository producerRepository) { _productRepository = productRepository; _producerRepository = producerRepository; _categoryRepository = categoryRepository; _cacheManager = cacheManager; }
public WasherService( IMapper mapper, IWasherRepository repository, IRoomRepository roomRepository, IProducerRepository producerRepository) : base(mapper, repository) { _roomRepository = roomRepository; _producerRepository = producerRepository; }
public ProducerDataMap(IMap <Address, AddressData> addressMap, IMap <Business, BusinessInfoData> businessMap, IMap <Contact, ContactData> contactMap, IProducerRepository producerRepository) { this.addressMap = addressMap; this.businessMap = businessMap; this.contactMap = contactMap; this.producerRepository = producerRepository; }
public HubViewModelBuilder(IRegionRepository regionRepository, IContactRepository contactRepository, IProducerRepository producerRepository, IHubRepository hubRepository, ICommodityProducerRepository commodityProducerRepository, IMasterDataUsage masterDataUsage) { _regionRepository = regionRepository; _contactRepository = contactRepository; _producerRepository = producerRepository; _hubRepository = hubRepository; _commodityProducerRepository = commodityProducerRepository; _masterDataUsage = masterDataUsage; }
public DistributorViewModelBuilder(IDistributorRepository distrepository, IRegionRepository regionrepository, IUserRepository userRepository, ICostCentreFactory costCentreFactory, IProducerRepository producerRepository, ICostCentreRepository costCentreRepository,IProductPricingTierRepository pricingTierRepository, IMasterDataUsage masterDataUsage) { _distrepository = distrepository; _regionrepository = regionrepository; _userRepository = userRepository; _costCentreFactory = costCentreFactory; _producerRepository = producerRepository; _costCentreRepository = costCentreRepository; _pricingTierRepository=pricingTierRepository; _masterDataUsage = masterDataUsage; }
public static async Task <Producer> GetOrFailAsync(this IProducerRepository repository, Guid id) { var producer = await repository.GetAsync(id); if (producer == null) { throw new Exception($"Producer with id: '{id}' does not exist."); } return(producer); }
public static async Task <Producer> GetOrFailAsync(this IProducerRepository repository, string name) { var producer = await repository.GetAsync(name); if (producer == null) { throw new Exception($"Producer with name: '{name}' does not exist."); } return(producer); }
public ProductService(IParticipantProductRepository participantProductRepository, IProducerRepository producerRepository, IProductRepository productRepository, IFocusProductRepository focusProductRepository, ICategoryProductRepository categoryProductRepository, IMapper mapper, IUnitOfWork unitOfWork, IHostingEnvironment env) { _participantProductRepository = participantProductRepository; _producerRepository = producerRepository; _productRepository = productRepository; _focusProductRepository = focusProductRepository; _categoryProductRepository = categoryProductRepository; _mapper = mapper; _unitOfWork = unitOfWork; _env = env; }
public ItemController(IToyRepository toyRepository, IProducerRepository producerRepository, ICategoryRepository categoryRepository, IGalleryRepository galleryRepository, IHostingEnvironment environment, ToyContext context) { _toyRepository = toyRepository; _producerRepository = producerRepository; _categoryRepository = categoryRepository; _galleryRepository = galleryRepository; _environment = environment; _context = context; }
// TODO: Delete public static async Task <Producer> SetOrGetExistingAsync(this IProducerRepository repository, string name) { var @producer = await repository.GetAsync(name); if (@producer == null) { var id = Guid.NewGuid(); @producer = new Producer(id, name); await repository.AddAsync(@producer); } return(@producer); }
// IOrderRepository orderRepository, public ListOrdersViewModelBuilder(IDistributorRepository distributorRepository, ICostCentreRepository costCentreRepository, IDocumentFactory documentFactory, IUserRepository userRepository, IProductRepository productRepository, IBusPublisher busPublisher, IProducerRepository producerRepository, ProductPackagingSummaryViewBuilder summarizeProduct, IDiscountProcessorService discountProcessorService, IOrderRepository orderRepository, IMainOrderRepository mainOrderRepository) { _distributorRepository = distributorRepository; _costCentreRepository = costCentreRepository; _documentFactory = documentFactory; _userRepository = userRepository; _productRepository = productRepository; _busPublisher = busPublisher; _producerRepository = producerRepository; _summarizeProduct = summarizeProduct; _discountProcessorService = discountProcessorService; _orderRepository = orderRepository; _mainOrderRepository = mainOrderRepository; }
public CreateLegacyNotificationApplicationHandler(IwsContext context, INotificationApplicationRepository notificationApplicationRepository, IFacilityRepository facilityRepository, ICarrierRepository carrierRepository, IProducerRepository producerRepository, NotificationApplicationFactory notificationApplicationFactory) { this.context = context; this.notificationApplicationRepository = notificationApplicationRepository; this.facilityRepository = facilityRepository; this.carrierRepository = carrierRepository; this.producerRepository = producerRepository; this.notificationApplicationFactory = notificationApplicationFactory; }
public CommandRoutingResolver(ICommandRoutingRepository commandRoutingRepository, ICostCentreApplicationRepository costCentreApplicationRepository, IOrderRepository orderRepository, IInventoryAdjustmentNoteRepository inventoryAdjustmentNoteRepository, IInventoryTransferNoteRepository inventoryTransferNoteRepository, IDispatchNoteRepository dispatchNoteRepository, IProducerRepository producerRepository, IInventoryReceivedNoteRepository inventoryReceivedNoteRepository, IReceiptRepository receiptRepository, IDisbursementNoteRepository disbursementNoteRepository, IReturnsNoteRepository returnsNoteRepository, IInvoiceRepository invoiceRepository) { _commandRoutingRepository = commandRoutingRepository; _costCentreApplicationRepository = costCentreApplicationRepository; _orderRepository = orderRepository; _inventoryAdjustmentNoteRepository = inventoryAdjustmentNoteRepository; _inventoryTransferNoteRepository = inventoryTransferNoteRepository; _dispatchNoteRepository = dispatchNoteRepository; _producerRepository = producerRepository; _inventoryReceivedNoteRepository = inventoryReceivedNoteRepository; _receiptRepository = receiptRepository; _disbursementNoteRepository = disbursementNoteRepository; _returnsNoteRepository = returnsNoteRepository; _invoiceRepository = invoiceRepository; }
public CommoditySupplierViewModelBuilder(ICommoditySupplierRepository commoditySupplierRepository, IProducerRepository producerRepository, ICommodityProducerRepository commodityProducerRepository, ICommodityOwnerRepository commodityOwnerRepository, IMasterDataUsage masterDataUsage, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, IMasterDataToDTOMapping mastertodto, ICentreRepository centreRepository) { _commoditySupplierRepository = commoditySupplierRepository; _producerRepository = producerRepository; _commodityProducerRepository = commodityProducerRepository; _commodityOwnerRepository = commodityOwnerRepository; _masterDataUsage = masterDataUsage; _bankRepository = bankRepository; _bankBranchRepository = bankBranchRepository; _mastertodto = mastertodto; _centreRepository = centreRepository; }
public GetProducerReportHandlerTests() { userId = Guid.NewGuid(); var userContext = A.Fake <IUserContext>(); repository = A.Fake <IProducerRepository>(); internalUserRepo = A.Fake <IInternalUserRepository>(); A.CallTo(() => userContext.UserId).Returns(userId); A.CallTo(() => internalUserRepo.GetByUserId(userId)) .Returns(new TestableInternalUser() { UserId = userId.ToString(), CompetentAuthority = competentAuthority }); handler = new GetProducerReportHandler(repository, userContext, internalUserRepo); }
public UnitOfWork(IColorRepository colorRepository, IFeaturesRepository featuresRepository, ILowerDeckRepository lowerDeckRepository, INumberOfFretsRepository numberOfFretsRepository, INumberOfStringsRepository numberOfStringsRepository, IOrderProductRepository orderProductRepository, IOrderRepository orderRepository, IOverlayFingerboardRepository overlayFingerboardRepository, IPegsRepository pegsRepository, IProducerRepository producerRepository, IProducingCountryRepository producingCountryRepository, IProductRepository productRepository, ISidePanelRepository sidePanelRepository, ISizeRepository sizeRepository, IGuitarTypeRepository guitarTypeRepository, IUpperDeckRepository upperDeckRepository, UserManager <User> userManager, SignInManager <User> signInManager) { this.colorRepository = colorRepository; this.featuresRepository = featuresRepository; this.lowerDeckRepository = lowerDeckRepository; this.numberOfFretsRepository = numberOfFretsRepository; this.numberOfStringsRepository = numberOfStringsRepository; this.orderProductRepository = orderProductRepository; this.orderRepository = orderRepository; this.overlayFingerboardRepository = overlayFingerboardRepository; this.pegsRepository = pegsRepository; this.producerRepository = producerRepository; this.producingCountryRepository = producingCountryRepository; this.productRepository = productRepository; this.sidePanelRepository = sidePanelRepository; this.sizeRepository = sizeRepository; this.guitarTypeRepository = guitarTypeRepository; this.upperDeckRepository = upperDeckRepository; UserManager = userManager; SignInManager = signInManager; }
public ProducerController(GearContext context, IProducerRepository producer) { _context = context; _producer = producer; }
public ProducerService(IProducerRepository producerRepository) { _producerRepository = producerRepository; }
public SubcategoryControllerTests() { this.subcategoriesRepository = new SampleSubcategoriesRepository(); this.producerRepository = new SampleProducerRepository(); this.subcategoryController = new SubcategoryController(subcategoriesRepository, producerRepository); }
//protected IBankRepository _bankRepository; //protected IBankBranchRepository _bankBranchRepository; #region Constructors public InsertTestData(IOutletVisitReasonsTypeRepository visitReasonsTypeRepository,IActivityTypeRepository activityTypeRepository,IContainerTypeRepository containerTypeRepository, IRetireDocumentSettingRepository retireDocumentSettingRepository, IOutletPriorityRepository outletPriorityRepository, IOutletVisitDayRepository outletVisitDayRepository, IAssetStatusRepository assetStatusRepository, IAssetCategoryRepository assetCategoryRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, ISalesmanRouteRepository salesmanRouteRepository, IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository, IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository, IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository, IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository, IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository, IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository, IProducerRepository producerRepository, IDocumentFactory documentFactory, ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository, IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository, ITerritoryRepository territoryRepository, IAreaRepository areaRepository, IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository, IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository, ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository, ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository, IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository, IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory, ISaleValueDiscountRepository saleValueDiscountRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, ISupplierRepository supplierRepository, ICreatePaymentNoteCommandHandler createLossCommandHandler, IAddPaymentNoteLineItemCommandHandler addLossLineItemCommandHandler, IConfirmPaymentNoteCommandHandler confirmLossCommandHandler, IContactTypeRepository contactTypeRepository, IDiscountGroupRepository discountGroupRepository, IProductDiscountGroupFactory productDiscountGroupFactory, ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory, ICustomerDiscountFactory customerDiscountFactory, IPromotionDiscountFactory promotionDiscountFactory, IProductDiscountGroupRepository productDiscountGroupRepository, IPromotionDiscountRepository promotionDiscountRepository, IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository, ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository, ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository, ICentreRepository centreRepository, ICentreTypeRepository centreTypeRepository, ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, ICommodityOwnerRepository commodityOwnerRepository, ICommodityProducerRepository commodityProducerRepository, ICommodityRepository commodityRepository, ICommodityTypeRepository commodityTypeRepository, IEquipmentRepository equipmentRepository, IMasterDataAllocationRepository masterDataAllocationRepository,IVehicleRepository vehicleRepository,IHubRepository hubRepository, IPurchasingClerkRouteRepository purchasingClerkRouteRepository,IInfectionRepository infectionRepository,ISeasonRepository seasonRepository,IServiceProviderRepository serviceProviderRepository,IServiceRepository serviceRepository,IShiftRepository shiftRepository,ISalesmanSupplierRepository salesmanSupplierRepository ) { _salesmanSupplierRepository = salesmanSupplierRepository; _productTypeRepository = productTypeRepository; _productBrandRepository = productBrandRepository; _productFlavourRepository = productFlavourRepository; _productPackagingRepository = productPackagingRepository; _productPackagingTypeRepository = productPackagingTypeRepository; _productRepository = productRepository; _regionRepository = regionRepository; _costCentreRepository = costCentreRepository; _costCentreFactory = costCentreFactory; _pricingRepository = pricingRepository; _vatClassRepository = vatClassRepository; _vatClassFactory = vatClassFactory; _countryRepository = countryRepository; _productPricingFactory = productPricingFactory; _ProductPricingTierRepository = productPricingTierRepository; _outletTypeRepository = outletTypeRepository; _userRepository = userRepository; _outletRepository = outletRepository; _routeRepository = routeRepository; _routeFactory = routeFactory; _transporterRepository = transporterRepository; _productFactory = productFactory; _distributorSalesmanRepository = distributorSalesmanRepository; _producerRepository = producerRepository; _documentFactory = documentFactory; _socioEconomicStatusRepository = socioEconomicStatusRepository; _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository; _distributorrepository = distributorrepository; _outletCategoryRepository = outletCategoryRepository; //_createOrderCommandHandler = createOrderCommandHandler; _territoryRepository = territoryRepository; _areaRepository = areaRepository; _contactRepository = contactRepository; _accountRepository = accountRepository; _accountTransactionRepository = accountTransactionRepository; _inventoryRepository = inventoryRepository; _inventoryTransactionRepository = inventoryTransactionRepository; _costCentreApplicationRepository = costCentreApplicationRepository; _channelPackagingRepository = channelPackagingRepository; _competitorRepository = competitorRepository; _competitorProductRepository = competitorProductRepository; _coolerRepository = coolerRepository; _coolerTypeRepository = coolerTypeRepository; _districtRepository = districtRepository; _provinceRepository = provinceRepository; _reorderLevelRepository = reorderLevelRepository; _targetPeriodRepository = targetPeriodRepository; _targetRepository = targetRepository; _productDiscountFactory = productDiscountFactory; _productDiscountRepository = productDiscountRepository; _saleValueDiscountFactory = saleValueDiscountFactory; _saleValueDiscountRepository = saleValueDiscountRepository; _salesmanRouteRepository = salesmanRouteRepository; _userGroupRepository = userGroupRepository; _userGroupRolesRepository = userGroupRolesRepository; _bankRepository = bankRepository; _bankBranchRepository = bankBranchRepository; _supplierRepository = supplierRepository; _createLossCommandHandler = createLossCommandHandler; _addLossLineItemCommandHandler = addLossLineItemCommandHandler; _confirmLossCommandHandler = confirmLossCommandHandler; _contactTypeRepository = contactTypeRepository; _assetCategoryRepository = assetCategoryRepository; _assetStatusRepository = assetStatusRepository; _discountGroupRepository = discountGroupRepository; _productDiscountGroupFactory = productDiscountGroupFactory; _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory; _customerDiscountFactory = customerDiscountFactory; _promotionDiscountFactory = promotionDiscountFactory; _productDiscountGroupRepository = productDiscountGroupRepository; _promotionDiscountRepository = promotionDiscountRepository; _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository; _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository; _outletPriorityRepository = outletPriorityRepository; _outletVisitDayRepository = outletVisitDayRepository; _targetItemRepository = targetItemRepository; _settingsRepository = settingsRepository; _retireDocumentSettingRepository = retireDocumentSettingRepository; _commodityOwnerTypeRepository = commodityOwnerTypeRepository; _commodityOwnerRepository = commodityOwnerRepository; _commoditySupplierRepository = commoditySupplierRepository; _centreTypeRepository = centreTypeRepository; _centreRepository = centreRepository; _commodityProducerRepository = commodityProducerRepository; _commodityRepository = commodityRepository; _commodityTypeRepository = commodityTypeRepository; _equipmentRepository = equipmentRepository; _masterDataAllocationRepository = masterDataAllocationRepository; _containerTypeRepository = containerTypeRepository; _hubRepository = hubRepository; _vehicleRepository = vehicleRepository; _purchasingClerkRouteRepository = purchasingClerkRouteRepository; _ShiftRepository = shiftRepository; _SeasonRepository = seasonRepository; _ServiceProviderRepository = serviceProviderRepository; _ServiceRepository = serviceRepository; _InfectionRepository = infectionRepository; _activityTypeRepository = activityTypeRepository; _outletVisitReasonsTypeRepository = visitReasonsTypeRepository; }
public ProducerController(IProducerRepository producerRepository) { this.producerRepository = producerRepository; }
public SitemapController(IProductRepository productRepository, ICategoryRepository categoryRepository, IProducerRepository producerRepository) { this.productRepository = productRepository; this.categoryRepository = categoryRepository; this.producerRepository = producerRepository; }
public ProducerService(IMapper mapper, IProducerRepository producerRepository) { _mapper = mapper; _producerRepository = producerRepository; }
public MovementProducerBlockFactory(INotificationApplicationRepository notificationApplicationRepository, IProducerRepository producerRepository) { this.notificationApplicationRepository = notificationApplicationRepository; this.producerRepository = producerRepository; }
public ProducerBlockFactory(INotificationApplicationRepository notificationApplicationRepository, IProducerRepository producerRepository) { this.notificationApplicationRepository = notificationApplicationRepository; this.producerRepository = producerRepository; }
public ProducerController( IProducerRepository producerRepo ) { _producerRepo = producerRepo; }
public InsertPHDTestData(IOutletPriorityRepository outletPriorityRepository, IOutletVisitDayRepository outletVisitDayRepository, IProductDiscountGroupFactory productDiscountGroupFactory, ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory, ICustomerDiscountFactory customerDiscountFactory, IPromotionDiscountFactory promotionDiscountFactory, IProductDiscountGroupRepository productDiscountGroupRepository, IPromotionDiscountRepository promotionDiscountRepository, IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository, ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository,IDiscountGroupRepository discountGroupRepository,IAssetStatusRepository assetStatusRepository, IAssetCategoryRepository assetCategoryRepository, IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository, IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository, IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository, IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository, IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository, IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository, IProducerRepository producerRepository, IDocumentFactory documentFactory, ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository, IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository, ITerritoryRepository territoryRepository, IAreaRepository areaRepository, IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository, IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository, ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository, ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository, IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository, IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory, ISaleValueDiscountRepository saleValueDiscountRepository/*, IContainmentRepository containmentRepository*/, ISalesmanRouteRepository salesmanRouteRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository,IContactTypeRepository contactTypeRepository) { _productTypeRepository = productTypeRepository; _productBrandRepository = productBrandRepository; _productFlavourRepository = productFlavourRepository; _productPackagingRepository = productPackagingRepository; _productPackagingTypeRepository = productPackagingTypeRepository; _productRepository = productRepository; _regionRepository = regionRepository; _costCentreRepository = costCentreRepository; _costCentreFactory = costCentreFactory; _pricingRepository = pricingRepository; _vatClassRepository = vatClassRepository; _vatClassFactory = vatClassFactory; _countryRepository = countryRepository; _productPricingFactory = productPricingFactory; _ProductPricingTierRepository = productPricingTierRepository; _outletTypeRepository = outletTypeRepository; _userRepository = userRepository; _outletRepository = outletRepository; _routeRepository = routeRepository; _routeFactory = routeFactory; _transporterRepository = transporterRepository; _productFactory = productFactory; _distributorSalesmanRepository = distributorSalesmanRepository; _producerRepository = producerRepository; _documentFactory = documentFactory; _socioEconomicStatusRepository = socioEconomicStatusRepository; _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository; _distributorrepository = distributorrepository; _outletCategoryRepository = outletCategoryRepository; _territoryRepository = territoryRepository; _areaRepository = areaRepository; _contactRepository = contactRepository; _accountRepository = accountRepository; _accountTransactionRepository = accountTransactionRepository; _inventoryRepository = inventoryRepository; _inventoryTransactionRepository = inventoryTransactionRepository; _costCentreApplicationRepository = costCentreApplicationRepository; _channelPackagingRepository = channelPackagingRepository; _competitorRepository = competitorRepository; _competitorProductRepository = competitorProductRepository; _coolerRepository = coolerRepository; _coolerTypeRepository = coolerTypeRepository; _districtRepository = districtRepository; _provinceRepository = provinceRepository; _reorderLevelRepository = reorderLevelRepository; _targetPeriodRepository = targetPeriodRepository; _targetRepository = targetRepository; _productDiscountFactory = productDiscountFactory; _productDiscountRepository = productDiscountRepository; _saleValueDiscountFactory = saleValueDiscountFactory; _saleValueDiscountRepository = saleValueDiscountRepository; //_containmentRepository = containmentRepository; _salesmanRouteRepository = salesmanRouteRepository; _userGroupRepository = userGroupRepository; _userGroupRolesRepository = userGroupRolesRepository; _contactTypeRepository = contactTypeRepository; _assetCategoryRepository = assetCategoryRepository; _assetStatusRepository = assetStatusRepository; _discountGroupRepository = discountGroupRepository; _discountGroupRepository = discountGroupRepository; _productDiscountGroupFactory = productDiscountGroupFactory; _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory; _customerDiscountFactory = customerDiscountFactory; _promotionDiscountFactory = promotionDiscountFactory; _productDiscountGroupRepository = productDiscountGroupRepository; _productDiscountGroupRepository = productDiscountGroupRepository; _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository; _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository; _outletPriorityRepository = outletPriorityRepository; _outletVisitDayRepository = outletVisitDayRepository; }
public SubcategoryController(ISubcategoriesRepository subcategoriesRepository, IProducerRepository producerRepository) { this.subcategoriesRepository = subcategoriesRepository; this.producerRepository = producerRepository; }
//Constructor public ProducerController() { this._ProducerRep = new ProducerRepository(new ProducerContext()); }
public ProducerController() { this.unitOfWork = new UnitOfWork(); this.repository = RepositoryFactory.GetRepository<IProducerRepository, Producer>(unitOfWork); }
public ProducerViewModelBuilder(IProducerRepository producerRepository, IContactRepository contactRepository) { _producerRepository = producerRepository; _contactRepository = contactRepository; }
public MasterDataEnvelopeBuilder(IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreApplicationRepository costCentreApplicationRepository, IProductPricingRepository pricingRepository, IVATClassRepository vatClassRepository, IProductPricingTierRepository productPricingTierRepository, ICountryRepository countryRepository, IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository, IRouteRepository routeRepository, ITransporterRepository transporterRepository, IDistributorSalesmanRepository distributorSalesmanRepository, IProducerRepository producerRepository, IDistributorRepository distributorrepository, ISocioEconomicStatusRepository socioEconomicStatusRepository, IOutletCategoryRepository outletCategoryRepository, ITerritoryRepository territoryRepository, IAreaRepository areaRepository, IContactRepository contactRepository, IDistributorPendingDispatchWarehouseRepository distributorPendingDispatchWarehouseRepository, IChannelPackagingRepository channelPackagingRepository, ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductsRepository, IAssetRepository coolerRepository, IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository, IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountRepository saleValueDiscountRepository, IDiscountGroupRepository discountGroupRepository, IPromotionDiscountRepository promotionDiscountRepository, ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository, IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository, IProductDiscountGroupRepository productDiscountGroupRepository, ISalesmanRouteRepository salesmanRouteRepository, IContainmentRepository containmentRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, ISupplierRepository supplierRepository, IContactTypeRepository contactTypeRepository, IAssetCategoryRepository assetCategoryRepository, IAssetStatusRepository assetStatusRepository, IOutletVisitDayRepository outletVisitDayRepository, IOutletPriorityRepository outletPriorityRepository, ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository, IInventoryRepository inventoryRepository, IPaymentTrackerRepository paymentTrackerRepository, IRetireDocumentSettingRepository retireDocumentSettingRepository, ICommodityTypeRepository commodityTypeRepository, ICommodityRepository commodityRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, ICommodityProducerRepository commodityProducerRepository, ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerRepository commodityOwnerRepository, ICentreRepository centreRepository, IHubRepository hubRepository, IPurchasingClerkRepository purchasingClerkRepository, IPurchasingClerkRouteRepository purchasingClerkRouteRepository, ICentreTypeRepository centreTypeRepository, IEquipmentRepository equipmentRepository, IStoreRepository storeRepository, IMasterDataAllocationRepository masterDataAllocationRepository, IContainerTypeRepository containerTypeRepository, IVehicleRepository vehicleRepository) { _productTypeRepository = productTypeRepository; _productBrandRepository = productBrandRepository; _productFlavourRepository = productFlavourRepository; _productPackagingRepository = productPackagingRepository; _productPackagingTypeRepository = productPackagingTypeRepository; _productRepository = productRepository; _regionRepository = regionRepository; _costCentreRepository = costCentreRepository; _costCentreApplicationRepository = costCentreApplicationRepository; _pricingRepository = pricingRepository; _vatClassRepository = vatClassRepository; _ProductPricingTierRepository = productPricingTierRepository; _countryRepository = countryRepository; _outletTypeRepository = outletTypeRepository; _userRepository = userRepository; _outletRepository = outletRepository; _routeRepository = routeRepository; _transporterRepository = transporterRepository; _distributorSalesmanRepository = distributorSalesmanRepository; _producerRepository = producerRepository; _distributorrepository = distributorrepository; _socioEconomicStatusRepository = socioEconomicStatusRepository; _outletCategoryRepository = outletCategoryRepository; _territoryRepository = territoryRepository; _areaRepository = areaRepository; _contactRepository = contactRepository; _distributorPendingDispatchWarehouseRepository = distributorPendingDispatchWarehouseRepository; _channelPackagingRepository = channelPackagingRepository; _competitorRepository = competitorRepository; _competitorProductsRepository = competitorProductsRepository; _coolerRepository = coolerRepository; _coolerTypeRepository = coolerTypeRepository; _districtRepository = districtRepository; _provinceRepository = provinceRepository; _reorderLevelRepository = reorderLevelRepository; _targetPeriodRepository = targetPeriodRepository; _targetRepository = targetRepository; _productDiscountRepository = productDiscountRepository; _saleValueDiscountRepository = saleValueDiscountRepository; _discountGroupRepository = discountGroupRepository; _promotionDiscountRepository = promotionDiscountRepository; _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository; _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository; _productDiscountGroupRepository = productDiscountGroupRepository; _salesmanRouteRepository = salesmanRouteRepository; _containmentRepository = containmentRepository; _userGroupRepository = userGroupRepository; _userGroupRolesRepository = userGroupRolesRepository; _bankRepository = bankRepository; _bankBranchRepository = bankBranchRepository; _supplierRepository = supplierRepository; _contactTypeRepository = contactTypeRepository; _assetCategoryRepository = assetCategoryRepository; _assetStatusRepository = assetStatusRepository; _outletVisitDayRepository = outletVisitDayRepository; _outletPriorityRepository = outletPriorityRepository; _targetItemRepository = targetItemRepository; _settingsRepository = settingsRepository; _inventoryRepository = inventoryRepository; _paymentTrackerRepository = paymentTrackerRepository; _retireDocumentSettingRepository = retireDocumentSettingRepository; _commodityTypeRepository = commodityTypeRepository; _commodityRepository = commodityRepository; _commodityOwnerTypeRepository = commodityOwnerTypeRepository; _commodityProducerRepository = commodityProducerRepository; _commoditySupplierRepository = commoditySupplierRepository; _commodityOwnerRepository = commodityOwnerRepository; _centreRepository = centreRepository; _hubRepository = hubRepository; _purchasingClerkRepository = purchasingClerkRepository; _purchasingClerkRouteRepository = purchasingClerkRouteRepository; _centreTypeRepository = centreTypeRepository; _equipmentRepository = equipmentRepository; _storeRepository = storeRepository; _masterDataAllocatioRepository = masterDataAllocationRepository; _containerTypeRepository = containerTypeRepository; _vehicleRepository = vehicleRepository; }