Ejemplo n.º 1
0
 public ToUpdateLotInstrumentPrice(
     ILotRepository lotRepository,
     IInstrumentRepository instrumentRepository)
 {
     _lotRepository        = lotRepository ?? throw new ArgumentNullException(nameof(lotRepository));
     _instrumentRepository = instrumentRepository ?? throw new ArgumentNullException(nameof(instrumentRepository));
 }
Ejemplo n.º 2
0
 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));
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
 public CAL03year2013(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 6
0
 public AML_III(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 7
0
 public Pilot142year2013(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 8
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;
 }
Ejemplo n.º 9
0
 public AMLNational(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 10
0
 public FCLAuthForm(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 11
0
 public InstructorCert(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 12
0
 public CabinCrewLicence(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 13
0
 public MainService(IUnitOfWork uow, ILotRepository lotrepository, ICathegoryRepository cathegoryRepository, IImageRepository imageRepository)
 {
     this.uow = uow;
     this.lotRepository = lotrepository;
     this.cathegoryRepository = cathegoryRepository;
     this.imageRepository = imageRepository;
 }
Ejemplo n.º 14
0
 public LotService(UnitOfWork unitOfWork)
 {
     this.unitOfWork  = unitOfWork;
     this.repo        = unitOfWork.GetRepository <ILotRepository>();
     this.genericRepo = unitOfWork.GetGenericRepository <ILotRepository, DAL.Model.Lot>();
     this.mapper      = MapperDTO.Mapper;
 }
Ejemplo n.º 15
0
 public NoiseCert(
     ILotRepository lotRepository,
     IUnitOfWork unitOfWork)
 {
     this.lotRepository = lotRepository;
     this.unitOfWork = unitOfWork;
 }
Ejemplo n.º 16
0
 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;
 }
Ejemplo n.º 17
0
 public ExaminerCert(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 18
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;
 }
        /// <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);
        }
Ejemplo n.º 20
0
 public LotController(IMapper mapper, ILotService lotService, IBidService bidService, IRepository <Category> categoryRepository, ILotRepository lotRepository)
 {
     _lotRepository      = lotRepository;
     _categoryRepository = categoryRepository;
     _bidService         = bidService;
     _maper      = mapper;
     _lotService = lotService;
 }
Ejemplo n.º 21
0
 public StudentFilghtLicence(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
     this.number = 6;
 }
Ejemplo n.º 22
0
 public LotService(ILotRepository lotRepository, ILotStateRepository lotStateRepository,
                   IUnitOfWork unitOfWork, IRepository <Category> categoryRepository)
 {
     _lotRepository      = lotRepository;
     _lotStateRepository = lotStateRepository;
     _categoryRepository = categoryRepository;
     _unitOfWork         = unitOfWork;
 }
Ejemplo n.º 23
0
 public Pilot(
     ILotRepository lotRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
     this.number = 6;
 }
Ejemplo n.º 24
0
 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;
 }
Ejemplo n.º 26
0
 public LotService(
     ILotRepository repository,
     IOrderStateService orderStateService,
     IDispatcherService dispatcherService)
     : base(repository)
 {
     OrderStateService = orderStateService;
     DispatcherService = dispatcherService;
 }
Ejemplo n.º 27
0
 public ForeignLicence(
     ILotRepository lotRepository,
     INomRepository nomRepository,
     IOrganizationRepository organizationRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
     this.organizationRepository = organizationRepository;
 }
Ejemplo n.º 28
0
 public AircraftRegistrationRepository(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IAircraftRepository aircraftRepository)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.aircraftRepository = aircraftRepository;
 }
Ejemplo n.º 29
0
 public SModeCodeRepository(
     IUnitOfWork unitOfWork,
     INomRepository nomRepository,
     ILotRepository lotRepository)
 {
     this.unitOfWork = unitOfWork;
     this.nomRepository = nomRepository;
     this.lotRepository = lotRepository;
 }
Ejemplo n.º 30
0
 public AuctionService(
     ISaleRepository saleRepository,
     ILotRepository lotRepository,
     IBidRepository bidRepository
     )
 {
     this.saleRepository = saleRepository;
     this.lotRepository  = lotRepository;
     this.bidRepository  = bidRepository;
 }
Ejemplo n.º 31
0
 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;
 }
Ejemplo n.º 32
0
 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;
 }
Ejemplo n.º 33
0
 public RVD_Licence(
     ILotRepository lotRepository,
     INomRepository nomRepository,
     IFileRepository fileRepository,
     ICaseTypeRepository caseTypeRepository)
 {
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
     this.fileRepository = fileRepository;
     this.caseTypeRepository = caseTypeRepository;
 }
Ejemplo n.º 34
0
 public ApplicationNote(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IFileRepository fileRepository,
     INomRepository nomRepository)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.fileRepository = fileRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 35
0
 public PersonTrainingRepository(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IFileRepository fileRepository,
     INomRepository nomRepository)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.fileRepository = fileRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 36
0
 public ExaminationSystemController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IExaminationSystemRepository examinationSystemRepository,
     UserContext userContext)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.examinationSystemRepository = examinationSystemRepository;
     this.userContext = userContext;
 }
Ejemplo n.º 37
0
 public RegistrationCert(
     ILotRepository lotRepository,
     IPersonRepository personRepository,
     IOrganizationRepository organizationRepository,
     INomRepository nomRepository)
 {
     this.lotRepository = lotRepository;
     this.personRepository = personRepository;
     this.organizationRepository = organizationRepository;
     this.nomRepository = nomRepository;
 }
Ejemplo n.º 38
0
 public PersonExportXmlController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     INomRepository nomRepository,
     IApplicationRepository applicationRepository)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.nomRepository = nomRepository;
     this.applicationRepository = applicationRepository;
 }
Ejemplo n.º 39
0
 public SignalsController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     ISignalRepository signalRepository,
     ILotEventDispatcher lotEventDispatcher)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.signalRepository = signalRepository;
     this.lotEventDispatcher = lotEventDispatcher;
 }
Ejemplo n.º 40
0
 public SuggestionsController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     ISuggestionRepository suggestionRepository,
     ILotEventDispatcher lotEventDispatcher)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.suggestionRepository = suggestionRepository;
     this.lotEventDispatcher = lotEventDispatcher;
 }
Ejemplo n.º 41
0
 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;
 }
Ejemplo n.º 42
0
 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;
 }
Ejemplo n.º 43
0
 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);
        }
Ejemplo n.º 45
0
 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);
        }
Ejemplo n.º 47
0
 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;
 }
Ejemplo n.º 48
0
 public ChangePriceService(ILotRepository lotRepository)
 {
     _lotRepository = lotRepository;
 }
Ejemplo n.º 49
0
        public InventoryController(ILotRepository lotRepository, IInventoryRepository inventoryRepository)
        {
            m_inventoryRepository = inventoryRepository;

            m_lotRepository = lotRepository;
        }
Ejemplo n.º 50
0
 public LotsLogic(IMapperAdapter mapperAdapter, ILotRepository lotRepository, IMessagePublisher <LotCreatedMessage> messagePublisher)
 {
     _mapperAdapter    = mapperAdapter;
     _lotRepository    = lotRepository;
     _messagePublisher = messagePublisher;
 }
Ejemplo n.º 51
0
 public ManagerController(ILotRepository lotRepository, IMapper mapper)
 {
     _lotRepository = lotRepository;
     _mapper        = mapper;
 }
Ejemplo n.º 52
0
 public NavController(ILotRepository repo)
 {
     repository = repo;
 }
Ejemplo n.º 53
0
 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;
 }
Ejemplo n.º 55
0
 public BetHub(IRepository <Rate> repository, ILotRepository <SortBy, ShowOptions> lotRepository)
 {
     _repository    = repository;
     _lotRepository = lotRepository;
 }
Ejemplo n.º 56
0
 public UserController(ILotRepository repo)
 {
     repository = repo;
 }
Ejemplo n.º 57
0
 public LotController(ILotRepository lotRepository)
 {
     this.repository = lotRepository;
 }
Ejemplo n.º 58
0
 public HomeController(ILotRepository <SortBy, ShowOptions> repository, ICategoryRepository categoryRepository)
 {
     _repository         = repository;
     _categoryRepository = categoryRepository;
 }
Ejemplo n.º 59
0
 public LotsService(ILotRepository lotRepository)
 {
     this._lotRepository = lotRepository;
 }
Ejemplo n.º 60
0
 public LotController(ILotRepository lotRepository, IPlantRepository plantRepository)
 {
     m_plantRepository = plantRepository;
     m_lotRepository   = lotRepository;
 }