public ToUpdateLotInstrumentPrice( ILotRepository lotRepository, IInstrumentRepository instrumentRepository) { _lotRepository = lotRepository ?? throw new ArgumentNullException(nameof(lotRepository)); _instrumentRepository = instrumentRepository ?? throw new ArgumentNullException(nameof(instrumentRepository)); }
public CoordinatorSimi( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
public WhenLotWasCreated( ILotRepository lotRepository, IInstrumentRepository instrumentRepository) { _lotRepository = lotRepository ?? throw new System.ArgumentNullException(nameof(lotRepository)); _instrumentRepository = instrumentRepository ?? throw new System.ArgumentNullException(nameof(instrumentRepository)); }
public PersonsController( IUnitOfWork unitOfWork, ILotRepository lotRepository, IPersonRepository personRepository, IApplicationRepository applicationRepository, IApplicationStageRepository applicationStageRepository, ICaseTypeRepository caseTypeRepository, INomRepository nomRepository, IFileRepository fileRepository, IPersonDocumentRepository personDocumentRepository, ILotEventDispatcher lotEventDispatcher, UserContext userContext) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.personRepository = personRepository; this.applicationRepository = applicationRepository; this.applicationStageRepository = applicationStageRepository; this.caseTypeRepository = caseTypeRepository; this.nomRepository = nomRepository; this.fileRepository = fileRepository; this.personDocumentRepository = personDocumentRepository; this.lotEventDispatcher = lotEventDispatcher; this.userContext = userContext; }
public CAL03year2013( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
public AML_III( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
public Pilot142year2013( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
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; }
public AMLNational( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
public FCLAuthForm( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
public InstructorCert( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
public CabinCrewLicence( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
public MainService(IUnitOfWork uow, ILotRepository lotrepository, ICathegoryRepository cathegoryRepository, IImageRepository imageRepository) { this.uow = uow; this.lotRepository = lotrepository; this.cathegoryRepository = cathegoryRepository; this.imageRepository = imageRepository; }
public LotService(UnitOfWork unitOfWork) { this.unitOfWork = unitOfWork; this.repo = unitOfWork.GetRepository <ILotRepository>(); this.genericRepo = unitOfWork.GetGenericRepository <ILotRepository, DAL.Model.Lot>(); this.mapper = MapperDTO.Mapper; }
public NoiseCert( ILotRepository lotRepository, IUnitOfWork unitOfWork) { this.lotRepository = lotRepository; this.unitOfWork = unitOfWork; }
public AircraftsController( IUnitOfWork unitOfWork, ILotRepository lotRepository, IInventoryRepository inventoryRepository, IAircraftRepository aircraftRepository, IAircraftRegistrationRepository aircraftRegistrationRepository, IAircraftRegMarkRepository aircraftRegMarkRepository, ISModeCodeRepository sModeCodeRepository, IFileRepository fileRepository, IApplicationRepository applicationRepository, ICaseTypeRepository caseTypeRepository, ILotEventDispatcher lotEventDispatcher, UserContext userContext) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.inventoryRepository = inventoryRepository; this.aircraftRepository = aircraftRepository; this.aircraftRegistrationRepository = aircraftRegistrationRepository; this.aircraftRegMarkRepository = aircraftRegMarkRepository; this.sModeCodeRepository = sModeCodeRepository; this.fileRepository = fileRepository; this.applicationRepository = applicationRepository; this.caseTypeRepository = caseTypeRepository; this.lotEventDispatcher = lotEventDispatcher; this.userContext = userContext; }
public ExaminerCert( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; }
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; }
/// <inheritdoc /> public async Task <SalesOrderWorkItem> TryUpsertSalesOrderWorkItem( ISalesOrderRepository salesOrderRepository, ISalesOrderItemRepository salesOrderItemRepository, ILotRepository lotRepository, SalesOrderWorkflow workflow, string salesOrderNumber, string salesOrderItemNumber, int seq, string salesOrderItemLotNumber, string updatedLotNumber, decimal itemQuantity, decimal updatedItemQuantity, decimal quantityTaken, string salesOrderWorkItemId = null) { SalesOrderWorkItem salesOrderWorkItem; if (!string.IsNullOrWhiteSpace(salesOrderWorkItemId)) { salesOrderWorkItem = await TryUpdateSalesOrderWorkItem( workflow, salesOrderWorkItemId, updatedLotNumber, updatedItemQuantity, quantityTaken ).ConfigureAwait(false); } else { salesOrderWorkItem = await TryCreateSalesOrderWorkItem( salesOrderRepository, salesOrderItemRepository, lotRepository, salesOrderNumber, salesOrderItemNumber, seq, salesOrderItemLotNumber, updatedLotNumber, itemQuantity, updatedItemQuantity, quantityTaken ).ConfigureAwait(false); } if (itemQuantity != updatedItemQuantity) { //await _syncService.SyncWithRemoteAsync().ConfigureAwait(false); await _salesOrderUpdateNotificationRepository.IssueSalesOrderUpdateNotification( salesOrderRepository, salesOrderWorkItem, workflow, itemQuantity, updatedItemQuantity ).ConfigureAwait(false); } return(salesOrderWorkItem); }
public LotController(IMapper mapper, ILotService lotService, IBidService bidService, IRepository <Category> categoryRepository, ILotRepository lotRepository) { _lotRepository = lotRepository; _categoryRepository = categoryRepository; _bidService = bidService; _maper = mapper; _lotService = lotService; }
public StudentFilghtLicence( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; this.number = 6; }
public LotService(ILotRepository lotRepository, ILotStateRepository lotStateRepository, IUnitOfWork unitOfWork, IRepository <Category> categoryRepository) { _lotRepository = lotRepository; _lotStateRepository = lotStateRepository; _categoryRepository = categoryRepository; _unitOfWork = unitOfWork; }
public Pilot( ILotRepository lotRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; this.number = 6; }
public LotService( ILotRepository lotRepository, IInstrumentRepository instrumentRepository, IEventManagerSource eventManagerSource) { _lotRepository = lotRepository ?? throw new ArgumentNullException(nameof(lotRepository)); _instrumentRepository = instrumentRepository ?? throw new ArgumentNullException(nameof(instrumentRepository)); _eventManagerSource = eventManagerSource ?? throw new ArgumentNullException(nameof(eventManagerSource)); }
public LotSelectionViewModel( IServiceBundle serviceBundle, ILotRepository lotRepository, ISalesOrderWorkItemRepository salesOrderWorkItemRepository ) : base(serviceBundle) { _lotRepository = lotRepository; _salesOrderWorkItemRepository = salesOrderWorkItemRepository; }
public LotService( ILotRepository repository, IOrderStateService orderStateService, IDispatcherService dispatcherService) : base(repository) { OrderStateService = orderStateService; DispatcherService = dispatcherService; }
public ForeignLicence( ILotRepository lotRepository, INomRepository nomRepository, IOrganizationRepository organizationRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; this.organizationRepository = organizationRepository; }
public AircraftRegistrationRepository( IUnitOfWork unitOfWork, ILotRepository lotRepository, IAircraftRepository aircraftRepository) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.aircraftRepository = aircraftRepository; }
public SModeCodeRepository( IUnitOfWork unitOfWork, INomRepository nomRepository, ILotRepository lotRepository) { this.unitOfWork = unitOfWork; this.nomRepository = nomRepository; this.lotRepository = lotRepository; }
public AuctionService( ISaleRepository saleRepository, ILotRepository lotRepository, IBidRepository bidRepository ) { this.saleRepository = saleRepository; this.lotRepository = lotRepository; this.bidRepository = bidRepository; }
public AdminService(IUnitOfWork uow, IUserRepository userRepository, IRoleRepository roleRepository, ILotRepository lotRepository, ICathegoryRepository cathegoryRepository, IProfileRepository profileRepository, ICountryRepository countryRepository) { this.uow = uow; this.userRepository = userRepository; this.roleRepository = roleRepository; this.lotRepository = lotRepository; this.cathegoryRepository = cathegoryRepository; this.profileRepository = profileRepository; this.countryRepository = countryRepository; }
public LotsController(ILotRepository lotRepository, INounRepository nounRepository, IGenderRepository genderRepository, ISizeRepository sizeRepository, IStateRepository stateRepository, IColorRepository colorRepository, IStructureRepository structureRepository) { _lotRepo = lotRepository; _nounRepo = nounRepository; _genderRepo = genderRepository; _sizeRepo = sizeRepository; _stateRepo = stateRepository; _colorRepo = colorRepository; _structureRepo = structureRepository; }
public RVD_Licence( ILotRepository lotRepository, INomRepository nomRepository, IFileRepository fileRepository, ICaseTypeRepository caseTypeRepository) { this.lotRepository = lotRepository; this.nomRepository = nomRepository; this.fileRepository = fileRepository; this.caseTypeRepository = caseTypeRepository; }
public ApplicationNote( IUnitOfWork unitOfWork, ILotRepository lotRepository, IFileRepository fileRepository, INomRepository nomRepository) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.fileRepository = fileRepository; this.nomRepository = nomRepository; }
public PersonTrainingRepository( IUnitOfWork unitOfWork, ILotRepository lotRepository, IFileRepository fileRepository, INomRepository nomRepository) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.fileRepository = fileRepository; this.nomRepository = nomRepository; }
public ExaminationSystemController( IUnitOfWork unitOfWork, ILotRepository lotRepository, IExaminationSystemRepository examinationSystemRepository, UserContext userContext) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.examinationSystemRepository = examinationSystemRepository; this.userContext = userContext; }
public RegistrationCert( ILotRepository lotRepository, IPersonRepository personRepository, IOrganizationRepository organizationRepository, INomRepository nomRepository) { this.lotRepository = lotRepository; this.personRepository = personRepository; this.organizationRepository = organizationRepository; this.nomRepository = nomRepository; }
public PersonExportXmlController( IUnitOfWork unitOfWork, ILotRepository lotRepository, INomRepository nomRepository, IApplicationRepository applicationRepository) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.nomRepository = nomRepository; this.applicationRepository = applicationRepository; }
public SignalsController( IUnitOfWork unitOfWork, ILotRepository lotRepository, ISignalRepository signalRepository, ILotEventDispatcher lotEventDispatcher) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.signalRepository = signalRepository; this.lotEventDispatcher = lotEventDispatcher; }
public SuggestionsController( IUnitOfWork unitOfWork, ILotRepository lotRepository, ISuggestionRepository suggestionRepository, ILotEventDispatcher lotEventDispatcher) { this.unitOfWork = unitOfWork; this.lotRepository = lotRepository; this.suggestionRepository = suggestionRepository; this.lotEventDispatcher = lotEventDispatcher; }
public CabinetService(IUnitOfWork uow, ILotRepository lotRepository, IUserRepository userRepository, IProfileRepository profileRepository, ICountryRepository countryRepository, IImageRepository imageRepository, ICathegoryRepository cathegoryRepository) { this.uow = uow; this.lotRepository = lotRepository; this.userRepository = userRepository; this.profileRepository = profileRepository; this.profileRepository = profileRepository; this.countryRepository = countryRepository; this.imageRepository = imageRepository; this.cathegoryRepository = cathegoryRepository; }
public LotController(ILotRepository <SortBy, ShowOptions> repository, ICloudStorage cloudStorage, IEmailSender <MailMessage> emailSender, UserManager <AppUser> userManager, ICategoryRepository categoryRepository) { _repository = repository; _cloudStorage = cloudStorage; _emailSender = emailSender; _userManager = userManager; _categoryRepository = categoryRepository; }
public SalesOrderDetailsEditViewModel( IServiceBundle serviceBundle, ISalesOrderWorkItemRepository salesOrderWorkItemRepository, ISalesOrderItemRepository salesOrderItemRepository, ISalesOrderRepository salesOrderRepository, ILotRepository lotRepository ) : base(serviceBundle) { _salesOrderWorkItemRepository = salesOrderWorkItemRepository; _salesOrderItemRepository = salesOrderItemRepository; _salesOrderRepository = salesOrderRepository; _lotRepository = lotRepository; }
/// <summary> /// Batch confirm the sales order pick if possible. This will fulfill all sales order items that /// are lot controlled and have their lot numbers set. This make it easier on the user so they don't /// have to go into each sales order item and confirm it explicitly. /// </summary> /// <param name="salesOrderWorkItemRepository">An ISalesOrderWorkItemRepository instance.</param> /// <param name="salesOrderItemRepository">An ISalesOrderItemRepository instance.</param> /// <param name="salesOrderNumber">The sales order number.</param> /// <param name="lotRepository">An ILotRepository instance.</param> /// <returns> /// An asynchronous Task that returns whether or not the batch confirm was successful. /// </returns> private async Task <bool> BatchConfirmSalesOrderPick( ISalesOrderWorkItemRepository salesOrderWorkItemRepository, ISalesOrderItemRepository salesOrderItemRepository, ILotRepository lotRepository, string salesOrderNumber ) { // Check if we can batch confirm the sales order. var canBatchConfirm = await CanBatchConfirmSalesOrderPick( salesOrderWorkItemRepository, salesOrderItemRepository, salesOrderNumber ); // Can't batch confirm, do nothing. if (!canBatchConfirm) { return(false); } // Only lot controlled items with their lot numbers set from Cresco should remain. var adjustedItems = (await salesOrderItemRepository.TryGetAdjustedSalesOrderItems( salesOrderWorkItemRepository, salesOrderNumber ).ConfigureAwait(false)) // We only want lot controlled items with remaining quantities. These will unconfirmed // read-only items pulled down from Cresco. .Where(i => i.IsLotControlled && !string.IsNullOrWhiteSpace(i.LotNumber) && i.ItemQuantity != 0 || (!i.IsLotControlled && i.ItemQuantity != 0) ).ToList(); // Create a work item for each sales order that was lot controlled with a lot number set. await Task.WhenAll(adjustedItems.Select(item => salesOrderWorkItemRepository.TryUpsertSalesOrderWorkItem( this, salesOrderItemRepository, lotRepository, SalesOrderWorkflow.Pick, salesOrderNumber, item.ItemNumber, item.Seq, item.LotNumber, item.LotNumber, item.ItemQuantity, item.ItemQuantity, item.ItemQuantity ))); return(true); }
public SalesOrderDetailsViewModel( IServiceBundle serviceBundle, ISalesOrderRepository salesOrderRepository, ISalesOrderItemRepository salesOrderItemRepository, ISalesOrderWorkItemRepository salesOrderWorkItemRepository, ILotRepository lotRepository, ISyncService syncService ) : base(serviceBundle) { _salesOrderRepository = salesOrderRepository; _salesOrderItemRepository = salesOrderItemRepository; _salesOrderWorkItemRepository = salesOrderWorkItemRepository; _lotRepository = lotRepository; _syncService = syncService; }
/// <inheritdoc /> public async Task ConfirmSalesOrderPick( ISalesOrderWorkItemRepository salesOrderWorkItemRepository, ISalesOrderItemRepository salesOrderItemRepository, ILotRepository lotRepository, SalesOrder salesOrder ) { var canBatchConfirm = await CanBatchConfirmSalesOrderPick( salesOrderWorkItemRepository, salesOrderItemRepository, salesOrder.SalesOrderNumber ).ConfigureAwait(false); // We can batch confirm so do it. if (canBatchConfirm) { await BatchConfirmSalesOrderPick( salesOrderWorkItemRepository, salesOrderItemRepository, lotRepository, salesOrder.SalesOrderNumber ).ConfigureAwait(false); } var isFulfilled = await IsSalesOrderQuantityFulfilled( salesOrderWorkItemRepository, salesOrderItemRepository, salesOrder.SalesOrderNumber ).ConfigureAwait(false); // Sales order is not fulfilled, do nothing. if (!isFulfilled) { return; } // Get the device position. var position = await _locationService.GetPositionAsync().ConfigureAwait(false); // Set all of the work items to picked along with the device location. await salesOrderWorkItemRepository.TryConfirmSalesOrderWorkItems( salesOrder.SalesOrderNumber, position ).ConfigureAwait(false); }
public GoodsReceiptNoteDetailService(IGoodsReceiptNoteRepository goodsReceiptNoteRepository, IGoodsReceiptNoteDetailRepository goodsReceiptNoteDetailRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWarehouseResource> resourceService, ILotRepository lotRepository, IProductUnitRepository productUnitRepository, IWarehouseManagerConfigRepository warehouseManagerConfigRepository, IMediator mediator, IProductRepository productRepository, IInventoryReportRepository inventoryReportRepository, IProductConversionUnitRepository productConversionUnitRepository, IInventoryReportService inventoryReportService, IGoodsDeliveryNoteDetailsRepository goodsDeliveryNoteDetailsRepository) { _goodsReceiptNoteRepository = goodsReceiptNoteRepository; _goodsReceiptNoteDetailRepository = goodsReceiptNoteDetailRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; _lotRepository = lotRepository; _productUnitRepository = productUnitRepository; _warehouseManagerConfigRepository = warehouseManagerConfigRepository; _mediator = mediator; _productRepository = productRepository; _inventoryReportRepository = inventoryReportRepository; _productConversionUnitRepository = productConversionUnitRepository; _inventoryReportService = inventoryReportService; _goodsDeliveryNoteDetailsRepository = goodsDeliveryNoteDetailsRepository; }
public ChangePriceService(ILotRepository lotRepository) { _lotRepository = lotRepository; }
public InventoryController(ILotRepository lotRepository, IInventoryRepository inventoryRepository) { m_inventoryRepository = inventoryRepository; m_lotRepository = lotRepository; }
public LotsLogic(IMapperAdapter mapperAdapter, ILotRepository lotRepository, IMessagePublisher <LotCreatedMessage> messagePublisher) { _mapperAdapter = mapperAdapter; _lotRepository = lotRepository; _messagePublisher = messagePublisher; }
public ManagerController(ILotRepository lotRepository, IMapper mapper) { _lotRepository = lotRepository; _mapper = mapper; }
public NavController(ILotRepository repo) { repository = repo; }
public LotsController(IMapper maper, ILotService lotService, ILotRepository lotRepository) { _lotRepository = lotRepository; _lotService = lotService; _maper = maper; }
public LotService(ILotRepository lotRepository, IUnitOfWork uow, IUserService userService) { this.lotRepository = lotRepository; this.uow = uow; this.userService = userService; }
public BetHub(IRepository <Rate> repository, ILotRepository <SortBy, ShowOptions> lotRepository) { _repository = repository; _lotRepository = lotRepository; }
public UserController(ILotRepository repo) { repository = repo; }
public LotController(ILotRepository lotRepository) { this.repository = lotRepository; }
public HomeController(ILotRepository <SortBy, ShowOptions> repository, ICategoryRepository categoryRepository) { _repository = repository; _categoryRepository = categoryRepository; }
public LotsService(ILotRepository lotRepository) { this._lotRepository = lotRepository; }
public LotController(ILotRepository lotRepository, IPlantRepository plantRepository) { m_plantRepository = plantRepository; m_lotRepository = lotRepository; }