public TransporterPaymentRequestController(IBusinessProcessService _paramBusinessProcessService
                                            , IBusinessProcessStateService _paramBusinessProcessStateService
                                            , IApplicationSettingService _paramApplicationSettingService
                                            , ITransporterPaymentRequestService transporterPaymentRequestService
                                            , ITransportOrderService _paramTransportOrderService
                                            , IBidWinnerService bidWinnerService
                                            , IDispatchService dispatchService
                                            , IWorkflowStatusService workflowStatusService
                                            , IUserAccountService userAccountService
                                            , Services.Procurement.ITransporterService transporterService,
                                            ITransportOrderService transportOrderService,
                                            ITransportOrderDetailService transportOrderDetailService, ICommonService commodityService
                                            , IFlowTemplateService flowTemplateService)
 {
     _BusinessProcessService = _paramBusinessProcessService;
     _BusinessProcessStateService = _paramBusinessProcessStateService;
     _ApplicationSettingService = _paramApplicationSettingService;
     _transporterPaymentRequestService = transporterPaymentRequestService;
     _TransportOrderService = _paramTransportOrderService;
     _bidWinnerService = bidWinnerService;
     _dispatchService = dispatchService;
     _workflowStatusService = workflowStatusService;
     _userAccountService = userAccountService;
     _transporterService = transporterService;
     _transportOrderService = transportOrderService;
     _transportOrderDetailService = transportOrderDetailService;
     _commodityService = commodityService;
     _flowTemplateService = flowTemplateService;
 }
Exemple #2
0
 public ReportsController(IDispatchService dispatchService,
      IReceiveService receiveService,
      IUserProfileService userProfileService,
      IHubService hubService,
      ITransactionService transactionService,
      ICommodityService commodityService,
      ICommodityTypeService commodityTypeService,
      IProgramService programService,
      IAdminUnitService adminUnitService,
      IDispatchAllocationService dispatchAllocationService,
      ICommoditySourceService commoditySourceService
      
      )
 {
     this._dispatchService = dispatchService;
      this._receiveService = receiveService;
      this._userProfileService = userProfileService;
      this._hubService = hubService;
      this._transactionService = transactionService;
      _commodityService = commodityService;
      _commodityTypeService = commodityTypeService;
      _programService = programService;
      _adminUnitService = adminUnitService;
      _dispatchAllocationService = dispatchAllocationService;
      _commoditySourceService = commoditySourceService;
 }
        public DeliveryController(ITransportOrderService transportOrderService,
                                      IWorkflowStatusService workflowStatusService,
                                      IDispatchAllocationService dispatchAllocationService,
                                      IDeliveryService deliveryService,
            IDispatchService dispatchService,
            IDeliveryDetailService deliveryDetailService,
            INotificationService notificationService, IActionTypesService actionTypeService, IUserAccountService userAccountService,
            Cats.Services.EarlyWarning.ICommodityService commodityService, Cats.Services.EarlyWarning.IUnitService unitService,
            Cats.Services.Transaction.ITransactionService transactionService, IBusinessProcessService businessProcessService, IApplicationSettingService applicationSettingService, ITransporterPaymentRequestService transporterPaymentRequestService)
        {
            _transportOrderService = transportOrderService;
            _workflowStatusService = workflowStatusService;
            _dispatchAllocationService = dispatchAllocationService;
            _deliveryService = deliveryService;
            _dispatchService = dispatchService;
            _deliveryDetailService = deliveryDetailService;
            _notificationService = notificationService;

            _actionTypeService = actionTypeService;

            _userAccountService = userAccountService;
            _commodityService = commodityService;
            _unitService = unitService;
            _transactionService = transactionService;
            _businessProcessService = businessProcessService;
            _applicationSettingService = applicationSettingService;
            _transporterPaymentRequestService = transporterPaymentRequestService;
        }
 public DispatchController(IDispatchAllocationService dispatchAllocationService, IDispatchService dispatchService,
     IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService,
     IDispatchDetailService dispatchDetailService, IUnitService unitService, ICommodityTypeService commodityTypeService,
     IProgramService programService, ITransporterService transporterService, IPeriodService periodService,
     ICommodityService commodityService, ITransactionService transactionService, IStoreService storeService,
     IAdminUnitService adminUnitService, IHubService hubService, IFDPService fdpService,
     IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService,
     ISMSGatewayService smsGatewayService, IContactService contactService, ISMSService smsService, IReliefRequisitionService reliefRequisitionService)
     : base(userProfileService)
 {
     _dispatchAllocationService = dispatchAllocationService;
     _dispatchService = dispatchService;
     _userProfileService = userProfileService;
     _otherDispatchAllocationService = otherDispatchAllocationService;
     _dispatchDetailService = dispatchDetailService;
     _unitService = unitService;
     _commodityTypeService = commodityTypeService;
     _programService = programService;
     _transporterService = transporterService;
     _periodService = periodService;
     _commodityService = commodityService;
     _transactionService = transactionService;
     _storeService = storeService;
     _adminUnitService = adminUnitService;
     _hubService = hubService;
     _fdpService = fdpService;
     _projectCodeService = projectCodeService;
     _shippingInstructionService = shippingInstructionService;
     _smsGatewayService = smsGatewayService;
     _contactService = contactService;
     _smsService = smsService;
     _reliefRequisitionService = reliefRequisitionService;
 }
        public WoredaStockDistributionController(
            IUtilizationHeaderSerivce utilizationService,
            IProgramService programService,
            IUtilizationDetailSerivce utilizationDetailSerivce, 
            UserAccountService userAccountService,
            ICommonService commonService, 
            IRegionalRequestService regionalRequestService,
            IReliefRequisitionDetailService reliefRequisitionDetailService,
            IReliefRequisitionService reliefRequisitionService,

            ITransactionService transactionService, IDispatchService dispatchService, IDeliveryService deliveryService, ILossReasonService lossReasonService, IPlanService planService, IAdminUnitService adminUnitService)
        {
            _utilizationService = utilizationService;
            _programService = programService;
            _utilizationDetailSerivce = utilizationDetailSerivce;
            _userAccountService = userAccountService;
            _commonService = commonService;
            _regionalRequestService = regionalRequestService;
            _reliefRequisitionDetailService = reliefRequisitionDetailService;
            _reliefRequisitionService = reliefRequisitionService;
            _transactionService = transactionService;
            _dispatchService = dispatchService;
            _deliveryService = deliveryService;
            _lossReasonService = lossReasonService;
            _planService = planService;
            _adminUnitService = adminUnitService;
        }
 public ValidatedPaymentRequestController(IBusinessProcessService paramBusinessProcessService
                                 , IBusinessProcessStateService paramBusinessProcessStateService
                                 , IApplicationSettingService paramApplicationSettingService
                                 , ITransportOrderService paramTransportOrderService
                                 , ITransporterAgreementVersionService transporterAgreementVersionService
                                 , IWorkflowStatusService workflowStatusService, ITransporterService transporterService
                                 , ITransporterChequeService transporterChequeService, IUserProfileService userProfileService 
                                 ,ITransporterPaymentRequestService transporterPaymentRequestService, IBidWinnerService bidWinnerService
                                 , IUserAccountService userAccountService, IDispatchService dispatchService
                                , ITransporterChequeDetailService transporterChequeDetailService,ITransportOrderDetailService transportOrderDetailService)
 {
     _businessProcessService = paramBusinessProcessService;
         _businessProcessStateService = paramBusinessProcessStateService;
         _applicationSettingService = paramApplicationSettingService;
         _transportOrderService = paramTransportOrderService;
         _transporterAgreementVersionService = transporterAgreementVersionService;
         _workflowStatusService = workflowStatusService;
         _transporterService = transporterService;
         _transporterChequeService = transporterChequeService;
          _userProfileService = userProfileService;
         _transporterPaymentRequestService = transporterPaymentRequestService;
         _bidWinnerService = bidWinnerService;
         _userAccountService = userAccountService;
         _dispatchService = dispatchService;
         _transporterChequeDetailService = transporterChequeDetailService;
        _transportOrderDetailService = transportOrderDetailService;
 }
 public HubDashboardController(IStockStatusService stockStatusService,IDispatchService dispatchService,
                               IDispatchAllocationService dispatchAllocationService)
 {
     _stockStatusService = stockStatusService;
     _dispatchService = dispatchService;
     _dispatchAllocationService = dispatchAllocationService;
 }
Exemple #8
0
 public HomeController(ITransporterChequeService transporterChequeService, IUserProfileService userProfileService, ITransporterPaymentRequestService transporterPaymentRequestService, IDispatchService dispatchService, ITransportOrderDetailService transportOrderDetailService, IBusinessProcessService businessProcessService)
 {
     _transporterChequeService = transporterChequeService;
     _userProfileService = userProfileService;
     _transporterPaymentRequestService = transporterPaymentRequestService;
     _dispatchService = dispatchService;
     _transportOrderDetailService = transportOrderDetailService;
     _businessProcessService = businessProcessService;
 }
 public TransporterPerformanceController(ITransportOrderService transportOrderService,IUserAccountService userAccountService,
                                       IDispatchAllocationService dispatchAllocationService, ITransportOrderDetailService transportOrderDetailService,
                                       IHubService hubService, IAdminUnitService adminUnitService,IDispatchService dispatchService,IDeliveryService deliveryService)
 {
     _transportOrderService = transportOrderService;
     _userAccountService = userAccountService;
     _dispatchAllocationService = dispatchAllocationService;
     _transportOrderDetailService = transportOrderDetailService;
     _hubService = hubService;
     _adminUnitService = adminUnitService;
     _dispatchService = dispatchService;
     _deliveryService = deliveryService;
 }
 public DeliveryReconcileController(IDispatchAllocationService dispatchAllocationService,
                               IDeliveryService deliveryService,
     IDispatchService dispatchService,
     Cats.Services.EarlyWarning.ICommodityService commodityService, Cats.Services.EarlyWarning.IUnitService unitService, 
     Cats.Services.Transaction.ITransactionService transactionService,
     Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, Cats.Services.EarlyWarning.IFDPService fdpService,
     Cats.Services.Logistics.IDeliveryReconcileService deliveryReconcileService, IUserAccountService userAccountService)
 {
     _dispatchAllocationService = dispatchAllocationService;
     _deliveryService = deliveryService;
     _dispatchService = dispatchService;
     _commodityService = commodityService;
     _unitService = unitService;
     _transactionService = transactionService;
     _adminUnitService = adminUnitService;
     _fdpService = fdpService;
     _deliveryReconcileService = deliveryReconcileService;
     _userAccountService = userAccountService;
 }
        public void Dispose()
        {
            if (_isDisposed)
                return;

            _isDisposed = true;

            lock (_proxyLock)
            {
                if (_proxy != null)
                {
                    var channel = ((IClientChannel)_proxy);

                    if (channel.State==CommunicationState.Opened)
                        channel.Close();

                    ((IDisposable)_proxy).Dispose();
                    _proxy = null;
                }
            }
        }
 public WoredaStockDistributionController(
     IUtilizationHeaderSerivce utilizationService,
     IUtilizationDetailSerivce utilizationDetailSerivce, 
     UserAccountService userAccountService,
     ICommonService commonService, 
     IRegionalRequestService regionalRequestService,
     IReliefRequisitionDetailService reliefRequisitionDetailService,
     IReliefRequisitionService reliefRequisitionService,
     ITransactionService transactionService, IDispatchService dispatchService, IDeliveryService deliveryService)
 {
     _utilizationService = utilizationService;
     _utilizationDetailSerivce = utilizationDetailSerivce;
     _userAccountService = userAccountService;
     _commonService = commonService;
     _regionalRequestService = regionalRequestService;
     _reliefRequisitionDetailService = reliefRequisitionDetailService;
     _reliefRequisitionService = reliefRequisitionService;
     _transactionService = transactionService;
     _dispatchService = dispatchService;
     _deliveryService = deliveryService;
 }
        public void Dispose()
        {
            if (_isDisposed)
                return;

            _isDisposed = true;
            StopListening();
            _dispatchService = null;
        }
 public WcfServerTransportAdapter()
 {
     _dispatchService = new DispatchService(this);
 }
 public ExcelTranslateEngine(IDispatchService dispatchService, Action<TranslatedItem> translationNotification)
 {
     this.dispatchService = dispatchService;
     this.translationNotification = translationNotification;
     excelApp = new Microsoft.Office.Interop.Excel.Application();
 }