예제 #1
0
 public ApplicationsController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IPersonRepository personRepository,
     IOrganizationRepository organizationRepository,
     IAircraftRepository aircraftRepository,
     IAirportRepository airportRepository,
     IEquipmentRepository equipmentRepository,
     IDocRepository docRepository,
     IApplicationRepository applicationRepository,
     INomRepository nomRepository,
     IFileRepository fileRepository,
     IExaminationSystemRepository examinationSystemRepository,
     ILotEventDispatcher lotEventDispatcher,
     UserContext userContext)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.personRepository = personRepository;
     this.organizationRepository = organizationRepository;
     this.aircraftRepository = aircraftRepository;
     this.airportRepository = airportRepository;
     this.equipmentRepository = equipmentRepository;
     this.docRepository = docRepository;
     this.applicationRepository = applicationRepository;
     this.nomRepository = nomRepository;
     this.examinationSystemRepository = examinationSystemRepository;
     this.fileRepository = fileRepository;
     this.lotEventDispatcher = lotEventDispatcher;
     this.userContext = userContext;
 }
 public SourcingContainerViewModelBuilder(IEquipmentRepository equipmentRepository, IHubRepository hubRepository, ICommodityRepository commodityRepository, IContainerTypeRepository containerTypeRepository)
 {
     _equipmentRepository = equipmentRepository;
     _hubRepository = hubRepository;
     _commodityRepository = commodityRepository;
     _containerTypeRepository = containerTypeRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EquipmentController" /> class.
 /// </summary>
 /// <param name="equipmentRepository">The equipment repository.</param>
 /// <param name="equipmentTypeRepository">The equipment type repository.</param>
 public EquipmentController(
     IEquipmentRepository equipmentRepository,
     IEquipmentTypeRepository equipmentTypeRepository)
 {
     EquipmentRepository = equipmentRepository;
     EquipmentTypeRepository = equipmentTypeRepository;
 }
예제 #4
0
 public GvaNomController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IApplicationRepository applicationRepository,
     IPersonRepository personRepository,
     IAircraftRepository aircraftRepository,
     IAirportRepository airportRepository,
     IEquipmentRepository equipmentRepository,
     IOrganizationRepository organizationRepository,
     ICaseTypeRepository caseTypeRepository,
     INomRepository nomRepository,
     IStageRepository stageRepository,
     IExaminationSystemRepository examinationSystemRepository,
     IAircraftRegistrationRepository aircraftRegistrationRepository,
     IEnumerable<IDataGenerator> dataGenerators)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.applicationRepository = applicationRepository;
     this.personRepository = personRepository;
     this.aircraftRepository = aircraftRepository;
     this.airportRepository = airportRepository;
     this.equipmentRepository = equipmentRepository;
     this.organizationRepository = organizationRepository;
     this.caseTypeRepository = caseTypeRepository;
     this.nomRepository = nomRepository;
     this.stageRepository = stageRepository;
     this.examinationSystemRepository = examinationSystemRepository;
     this.aircraftRegistrationRepository = aircraftRegistrationRepository;
     this.dataGenerators = dataGenerators;
 }
예제 #5
0
 public DataServiceController(IEquipmentRepository equipmentRepository, 
      ISailingSessionsRepository sailingSessionsRepository,
      ILogger logger)
 {
     this.equipmentRepository = equipmentRepository;
     this.sailingSessionsRepository = sailingSessionsRepository;
     this.logger = logger;
 }
예제 #6
0
 public RecipesController(IRecipeRepository recipeRepo, IRecipeIngredientRepository recipeIngredientRepo, IInstructionRepository instructionRepo, IIngredientRepository ingredientRepo, IEquipmentRepository equipmentRepo, IRecipeEquipmentRepository recipeEquipmentRepo, IUserRepository userRepo)
 {
     RecipeRepo = recipeRepo;
     RecipeIngredientRepo = recipeIngredientRepo;
     InstructionRepo = instructionRepo;
     IngredientRepo = ingredientRepo;
     EquipmentRepo = equipmentRepo;
     RecipeEquipmentRepo = recipeEquipmentRepo;
     UserRepo = userRepo;
 }
예제 #7
0
        public UnitOfWork(ICarRepository carRepository, 
			IEquipmentRepository equipmentRepository,
			IManufacturerRepository manufacturerRepository,
			EFDbContext context)
        {
            CarRepository = carRepository;
            EquipmentRepository = equipmentRepository;
            ManufacturerRepository = manufacturerRepository;
            this.context = context;
        }
예제 #8
0
 public StoreCupboardController(
     IStoreCupboardIngredientRepository storeCupboardIngredientRepo,
     IStoreCupboardEquipmentRepository storeCupboardEquipmentRepo,
     IUserRepository userRepository,
     IIngredientRepository ingredientRepository,
     IEquipmentRepository equipmentRepository
     )
 {
     StoreCupboardIngredientRepo = storeCupboardIngredientRepo;
     StoreCupboardEquipmentRepo = storeCupboardEquipmentRepo;
     UserRepository = userRepository;
     IngredientRepository = ingredientRepository;
     EquipmentRepository = equipmentRepository;
 }
예제 #9
0
 public EquipmentsController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IInventoryRepository inventoryRepository,
     IEquipmentRepository equipmentRepository,
     IApplicationRepository applicationRepository,
     ICaseTypeRepository caseTypeRepository,
     ILotEventDispatcher lotEventDispatcher,
     UserContext userContext)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.inventoryRepository = inventoryRepository;
     this.equipmentRepository = equipmentRepository;
     this.applicationRepository = applicationRepository;
     this.caseTypeRepository = caseTypeRepository;
     this.lotEventDispatcher = lotEventDispatcher;
     this.userContext = userContext;
 }
 public DistributorServicesController(IOutletRepository outletRepository, ICostCentreFactory costCentreFactory, ICostCentreRepository costCentreRepository, IRouteRepository routeRepository, IOutletCategoryRepository outletCategoryRepository, IOutletTypeRepository outletTypeRepository, IOutletVisitDayRepository outletVisitDayRepository, IOutletPriorityRepository outletPriorityRepository, IProductPricingTierRepository productPricingTierRepository, IVATClassRepository vatClassRepository, IDiscountGroupRepository discountGroupRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IUserRepository userRepository, IDistributorSalesmanRepository distributorSalesmanRepository, ISalesmanRouteRepository salesmanRouteRepository, IContactRepository contactRepository, IContactTypeRepository contactTypeRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, IRegionRepository regionRepository, IPurchasingClerkRepository purchasingClerkRepository, IPurchasingClerkRouteRepository purchasingClerkRouteRepository, ICommoditySupplierRepository commoditySupplierRepository, ICommodityProducerRepository commodityProducerRepository, IMasterDataAllocationRepository masterDataAllocationRepository, ICommodityOwnerRepository commodityOwnerRepository, ICentreRepository centreRepository, IStoreRepository storeRepository, IVehicleRepository vehicleRepository, IEquipmentRepository equipmentRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, ITransactionsSummary transactionsSummary, IPgRepositoryHelper pgRepository)
 {
     _outletRepository = outletRepository;
     _costCentreFactory = costCentreFactory;
     _costCentreRepository = costCentreRepository;
     _routeRepository = routeRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _outletTypeRepository = outletTypeRepository;
     _outletVisitDayRepository = outletVisitDayRepository;
     _outletPriorityRepository = outletPriorityRepository;
     _productPricingTierRepository = productPricingTierRepository;
     _vatClassRepository = vatClassRepository;
     _discountGroupRepository = discountGroupRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _targetRepository = targetRepository;
     _userRepository = userRepository;
     _distributorSalesmanRepository = distributorSalesmanRepository;
     _salesmanRouteRepository = salesmanRouteRepository;
     _contactRepository = contactRepository;
     _contactTypeRepository = contactTypeRepository;
     _bankRepository = bankRepository;
     _bankBranchRepository = bankBranchRepository;
     _regionRepository = regionRepository;
     _purchasingClerkRepository = purchasingClerkRepository;
     _purchasingClerkRouteRepository = purchasingClerkRouteRepository;
     _commoditySupplierRepository = commoditySupplierRepository;
     _commodityProducerRepository = commodityProducerRepository;
     _masterDataAllocationRepository = masterDataAllocationRepository;
     _commodityOwnerRepository = commodityOwnerRepository;
     _centreRepository = centreRepository;
     _storeRepository = storeRepository;
     _vehicleRepository = vehicleRepository;
     _equipmentRepository = equipmentRepository;
     _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
     _transactionsSummary = transactionsSummary;
     _pgRepository = pgRepository;
 }
예제 #11
0
 //dependancy injection of the constructor
 public HomeController(IEquipmentRepository equipmentRepository, ProfileRepository profileRepository)
 {
     _equipmentRepository = equipmentRepository;
     _profileRepository   = profileRepository;
 }
예제 #12
0
 public EquipmentService(IEquipmentRepository repository)
 {
     this._repository = repository;
 }
 public EquipmentService(IMapper mapper, IEquipmentRepository equipmentRepository)
     : base(mapper, equipmentRepository)
 {
     _equipmentRepository = equipmentRepository;
 }
 public void SetUp()
 {
     contextManager      = new ContextManager();
     equipmentRepository = new EquipmentRepository(contextManager);
 }
예제 #15
0
 public EquipmentController(IEquipmentRepository equipmentRepository)
 {
     _equipmentRepository = equipmentRepository;
 }
 public EquipmentApplicationService(IEquipmentRepository repository, IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     this._repository = repository;
 }
 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;
 }
예제 #18
0
 public EquipmentDistributionService(IEquipmentDistribution equipmentDistribution, IEquipmentRepository equipmentRepository, IAgentRepository agentRepository, IManagerRepository managerRepository)
 {
     _equipmentDistributionRepository = equipmentDistribution;
     _equipmentRepository             = equipmentRepository;
     _agentRepository   = agentRepository;
     _managerRepository = managerRepository;
 }
 public AddDefinitionOfActionCommandHandler(IEquipmentRepository equipmentRepository,
                                            ILogger <AddDefinitionOfActionCommandHandler> logger)
 {
     _equipmentRepository = equipmentRepository ?? throw new ArgumentNullException(nameof(equipmentRepository));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
예제 #20
0
 public BattleService(IBattleRepository battleRepository, IRegionRepository regionRepository, IWarService warService, IEquipmentRepository equipmentRepository,
                      IWarningService warningService, ICountryRepository countryRepository, ITransactionsService transactionService, IRegionService regionService,
                      IWarRepository warRepository, ICitizenRepository citizenRepository, ICitizenService citizenService, IEntityRepository entityRepository,
                      IBattleEventService battleEventService)
 {
     this.battleRepository    = battleRepository;
     this.regionRepository    = regionRepository;
     this.warService          = Attach(warService);
     this.equipmentRepository = equipmentRepository;
     this.warningService      = Attach(warningService);
     this.countryRepository   = countryRepository;
     this.transactionService  = Attach(transactionService);
     this.regionService       = Attach(regionService);
     this.warRepository       = warRepository;
     this.citizenRepository   = citizenRepository;
     this.citizenService      = citizenService;
     this.entityRepository    = entityRepository;
     this.battleEventService  = battleEventService;
 }
 public EquipmentManager(IMapper mapper, IEquipmentRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }
예제 #22
0
 public EquipmentController(IEquipmentRepository equipmentRepo)
 {
     EquipmentRepo = equipmentRepo;
 }
예제 #23
0
 public void Setup()
 {
     fakeEquipmentRepo = A.Fake<IEquipmentRepository>();
     A.CallTo(() => fakeEquipmentRepo.GetAll()).Returns(equipments);
     controller = new EquipmentController(fakeEquipmentRepo);
 }
예제 #24
0
 public PrinterViewModelBuilder(IEquipmentRepository equipmentRepository, IHubRepository hubRepository)
 {
     _equipmentRepository = equipmentRepository;
     _hubRepository = hubRepository;
 }
예제 #25
0
 public OrderService(IOrderRepository iOrderRepository, IEquipmentRepository equipmentRepository, ICommonMapper iCommonMapper)
 {
     _iOrderRepository    = iOrderRepository;
     _equipmentRepository = equipmentRepository;
     _iCommonMapper       = iCommonMapper;
 }
 public CartController(IEquipmentRepository equipmentRepository)
 {
     repository = equipmentRepository;
 }
        public AddRemoveComponentViewModel(IEquipmentLookupDataService equipmentLookupDataService, IErrorDataService errorDataService,
                                           IComponentDataService componentDataService, IEquipmentRepository equipmentRepository, IEventAggregator eventAggregator)
        {
            _equipmentLookupDataService = equipmentLookupDataService;
            _componentDataService       = componentDataService;
            _errorDataService           = errorDataService;
            _equipmentRepository        = equipmentRepository;
            Equipments             = new ObservableCollection <EquipmentLookup>();
            Components             = new ObservableCollection <ComponentDto>();
            ComponentsForEquipment = new ObservableCollection <ComponentDto>();
            EquipmentComponents    = new ObservableCollection <EquipmentComponent>();

            AddComponent    = new DelegateCommand(OnComponentAdded, OnComponentCanAdded);
            RemoveComponent = new DelegateCommand(OnComponentRemoved, OnComponentCanRemoved);
            SaveChanges     = new DelegateCommand(OnChangesSaved, OnChangesCanSaved);

            _eventAggregator = eventAggregator;
            _eventAggregator.GetEvent <AfterUserLogin>().Subscribe(OnLogin);
        }
 public WeighScaleViewModelBuilder(IHubRepository hubRepository, IEquipmentRepository equipmentRepository)
 {
     _hubRepository = hubRepository;
     _equipmentRepository = equipmentRepository;
 }
예제 #29
0
 public EquipmentHandler(IEquipmentRepository repository)
 {
     _repository = repository;
 }
예제 #30
0
 public EquipmentController(IUow uow, IEquipmentRepository repository, EquipmentHandler handler) : base(uow)
 {
     _uow        = uow;
     _repository = repository;
     _handler    = handler;
 }
예제 #31
0
 public RentingServices(IHarbourRentRepository harbourRentRepository, IEquipmentRentRepository equipmentRentRepository, IUserRepository userRepository, IEquipmentTypeRepository equipmentType, IEquipmentRepository equipmentRepository)
 {
     this.harbourRentRepository   = harbourRentRepository;
     this.equipmentRentRepository = equipmentRentRepository;
     this.userRepository          = userRepository;
     equipmentTypeRepository      = equipmentType;
     this.equipmentRepository     = equipmentRepository;
 }
예제 #32
0
 public EquipmentVM(ICategoryRepository repositorycategory, IEquipmentRepository repositoryequipment)
 {
     this.repositorycategory  = repositorycategory;
     this.repositoryequipment = repositoryequipment;
 }
예제 #33
0
        //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;
        }
 /// <summary>
 /// Initializes a new instance of the MaterialManagerService
 /// </summary>
 /// <param name="principal"></param>
 /// <param name="materialRepository"></param>
 /// <param name="equipmentRepository"></param>
 /// <param name="fileRepository"></param>
 public MaterialManagerService(IPrincipal principal, IMaterialRepository materialRepository, IEquipmentRepository equipmentRepository, IFileRepository fileRepository, IFileManagerService fileManagerService, IRequestRepository requestRepository)
 {
     _principal           = principal as ClaimsPrincipal;
     _materialRepository  = materialRepository;
     _equipmentRepository = equipmentRepository;
     _fileRepository      = fileRepository;
     _fileManagerService  = fileManagerService;
     _requestRepository   = requestRepository;
 }
예제 #35
0
 public EquipmentController(IEquipmentRepository equipmentRepository, IEquipmentService equipmentService, IPopupService popupService) : base(popupService)
 {
     this.equipmentRepository = equipmentRepository;
     this.equipmentService    = equipmentService;
 }
예제 #36
0
 public OwnerController(IOwnerRepository repository, ILogger <BaseController <IOwnerRepository, Owner> > logger,
                        UserManager <AccountUser> userManager, IStatementRepository statementRepository, IEquipmentRepository equipmentRepository) : base(repository, logger,
                                                                                                                                                          userManager)
 {
     StatementRepository = statementRepository;
     EquipmentRepository = equipmentRepository;
 }
 public CreateEquipmentCommandHandler(IEquipmentRepository equipmentRepository,
                                      ILogger <CreateEquipmentCommandHandler> logger)
 {
     _equipmentRepository = equipmentRepository ?? throw new ArgumentNullException(nameof(equipmentRepository));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
예제 #38
0
 public EquipmentService()
 {
     this._repository = new EquipmentRepository();
 }
예제 #39
0
 public ZoneController(IThresholdRepository ThresholdRepos, IZoneRepository ZoneRepository, IEquipmentRepository EquipmentRepository, IUserRepository UserRepos, ILeadRepository LeadRepos, IGenericUsageRepositoryInterface GenericRepos)
 {
     _ZoneRepository      = ZoneRepository;
     _EquipmentRepository = EquipmentRepository;
     _UserRepository      = UserRepos;
     _LeadRepos           = LeadRepos;
     _ChangeZip           = GenericRepos;
     _Threshold           = ThresholdRepos;
 }
예제 #40
0
		public EquipmentManager(IEquipmentRepository equipmentRepository)
		{
			EquipmentRepository = equipmentRepository;
		}
예제 #41
0
 public ReservedItemController(IEquipmentRepository equipmentRepository, ReservedItem reservedItem)
 {
     _equipmentRepository = equipmentRepository;
     _reservedItem        = reservedItem;
 }
예제 #42
0
 public EquipmentService(IEquipmentRepository equipmentRepository)
 {
     _equipmentRepository = equipmentRepository;
 }
 public MyEquipmentsController(IEquipmentRepository repo, IMapper mapper) // IMapper mapper;
 {
     _repo   = repo;
     _mapper = mapper;
 }
 public InvoicesController(IEndpointInstance endpointInstance, IEquipmentRepository equipmentRepository)
 {
     _endpointInstance    = endpointInstance ?? throw new ArgumentNullException(nameof(endpointInstance));
     _equipmentRepository = equipmentRepository ?? throw new ArgumentNullException(nameof(equipmentRepository));
 }
 public EquipmentAppService(IEquipmentRepository equipmentRepository, IClinicRepository clinicRepository)
 {
     this.equipmentRepository = equipmentRepository;
     this.clinicRepository    = clinicRepository;
 }
예제 #46
0
 public ModuleSimulator(ILogger logger, IEquipmentRepository equipmentRepository)
 {
     _logger = logger;
     _equipmentRepository = equipmentRepository;
     _logger.Init(GetType());
 }
예제 #47
0
        public EquipmentDetailViewModel(IEventAggregator eventAggregator, IErrorDataService errorDataService, IEquipmentRepository equipmentRepository)
        {
            _equipmentRepository = equipmentRepository;
            _eventAggregator     = eventAggregator;
            _eventAggregator.GetEvent <OpenEquipmentDetailViewEvent>()
            .Subscribe(OnOpenEquipmentDetailView);
            _errorDataService = errorDataService;
            _eventAggregator.GetEvent <AfterUserLogin>().Subscribe(OnLogin);

            UpdateCommand = new DelegateCommand(OnUpdateExecute);
            Equipment     = UpdateEquipment();
        }
예제 #48
0
 public EquipmentLogic(EquipmentRepository equipmentRepository)
 {
     _equipmentRepository = equipmentRepository;
 }
예제 #49
0
 public EquipmentService(IEquipmentRepository equipmentRepository)
 {
     _equipmentRepository = equipmentRepository;
 }
        public void Setup()
        {
            reservationList = TestData.GetReservationList();
            equipmentList = TestData.GetEquipmentList();
            inventoryList = TestData.GetInventoryList();

            unitOfWork = new MockUnitOfWork();
            reservationRepository = new MockReservationRepository(reservationList);
            equipmentRepository = new MockEquipmentRepository(equipmentList);
            inventoryRepository = new MockInventoryRepository(inventoryList);

            reservationService = new ReservationService(reservationRepository, equipmentRepository, inventoryRepository, unitOfWork);
        }