public SenderCalculationController(ISenderCalculationPresenter presenter, ISenderRepository senders,
                                    IIdentityService identity)
 {
     _presenter = presenter;
     _senders   = senders;
     _identity  = identity;
 }
		public SenderCalculationController(ISenderCalculationPresenter presenter, ISenderRepository senders,
			IIdentityService identity)
		{
			_presenter = presenter;
			_senders = senders;
			_identity = identity;
		}
Exemple #3
0
 public UnitofWork(ApplicationDbContext context)
 {
     _context    = context;
     Departments = new DepartmentRepository(_context);
     Divisions   = new DivisionRepository(_context);
     Letters     = new LetterRepository(_context);
     LetterTypes = new LetterTypeRepository(_context);
     Senders     = new SenderRepository(_context);
 }
Exemple #4
0
 public CalculationService(
     ICalculationRepository calculations,
     ISenderRepository senders,
     IAwbRepository awbs,
     IApplicationRepository applications)
 {
     _calculations = calculations;
     _senders      = senders;
     _awbs         = awbs;
     _applications = applications;
 }
		public BalanceLocalizedDataHelper(
			IClientBalanceRepository balance,
			ISerializer serializer,
			IClientRepository clients,
			ISenderRepository senders)
		{
			_balance = balance;
			_serializer = serializer;
			_clients = clients;
			_senders = senders;
		}
		public AdminCalculationPresenter(
			IApplicationRepository applications,
			IAwbRepository awbs,
			ISenderRepository senders,
			IClientBalanceRepository balances)
		{
			_applications = applications;
			_awbs = awbs;
			_senders = senders;
			_balances = balances;
		}
Exemple #7
0
 public BalanceLocalizedDataHelper(
     IClientBalanceRepository balance,
     ISerializer serializer,
     IClientRepository clients,
     ISenderRepository senders)
 {
     _balance    = balance;
     _serializer = serializer;
     _clients    = clients;
     _senders    = senders;
 }
Exemple #8
0
		public CalculationService(
			ICalculationRepository calculations,
			ISenderRepository senders,
			IAwbRepository awbs,
			IApplicationRepository applications)
		{
			_calculations = calculations;
			_senders = senders;
			_awbs = awbs;
			_applications = applications;
		}
		public SenderCalculationPresenter(
			IApplicationRepository applications,
			IStateFilter stateFilter,
			IAwbRepository awbs,
			ISenderRepository senders)
		{
			_applications = applications;
			_stateFilter = stateFilter;
			_awbs = awbs;
			_senders = senders;
		}
 public SenderCalculationPresenter(
     IApplicationRepository applications,
     IStateFilter stateFilter,
     IAwbRepository awbs,
     ISenderRepository senders)
 {
     _applications = applications;
     _stateFilter  = stateFilter;
     _awbs         = awbs;
     _senders      = senders;
 }
Exemple #11
0
 public AdminCalculationPresenter(
     IApplicationRepository applications,
     IAwbRepository awbs,
     ISenderRepository senders,
     IClientBalanceRepository balances)
 {
     _applications = applications;
     _awbs         = awbs;
     _senders      = senders;
     _balances     = balances;
 }
Exemple #12
0
 public ClientController(
     IIdentityService identity,
     IClientManager manager,
     IClientFileRepository files,
     IClientPresenter clients,
     ISenderRepository senders)
 {
     _identity = identity;
     _manager  = manager;
     _files    = files;
     _clients  = clients;
     _senders  = senders;
 }
Exemple #13
0
        public SendToEndpointUseCase(IEndPointListPresenter endpointListPresenter, IPulseDisplayPresenter pulseDisplayPresenter, ISenderRepository senderRepository)
        {
            this.endpointListPresenter = endpointListPresenter;
            this.pulseDisplayPresenter = pulseDisplayPresenter;
            this.senderRepository      = senderRepository;

            endpointListPresenter.OnSaveButtonClickedAsObservable.Subscribe(_ =>
            {
                Send("/connection-test-string", "Connection test : Hello string!");
                Send("/connection-test-string", "10");
                Send("/connection-test-string", "3.14");
            }).AddTo(_disposable);
        }
Exemple #14
0
		public ClientController(
			IIdentityService identity,
			IClientManager manager,
			IClientFileRepository files,
			IClientPresenter clients,
			ISenderRepository senders)
		{
			_identity = identity;
			_manager = manager;
			_files = files;
			_clients = clients;
			_senders = senders;
		}
Exemple #15
0
 public SenderApplicationController(
     ISenderApplicationManager manager,
     IClientRepository clients,
     IIdentityService identity,
     ICountryRepository countries,
     ISenderRepository senders,
     IApplicationRepository applications)
 {
     _manager      = manager;
     _clients      = clients;
     _identity     = identity;
     _countries    = countries;
     _senders      = senders;
     _applications = applications;
 }
Exemple #16
0
		public AdminAwbController(
			IIdentityService identity,
			IAwbManager awbManager,
			IAwbPresenter awbPresenter,
			IAwbUpdateManager awbUpdateManager,
			IBrokerRepository brokers,
			ISenderRepository senders)
		{
			_identity = identity;
			_awbManager = awbManager;
			_awbPresenter = awbPresenter;
			_awbUpdateManager = awbUpdateManager;
			_brokers = brokers;
			_senders = senders;
		}
Exemple #17
0
        public HookService(
            IHookRepository hookRepository,
            IEventRepository eventRepository,
            ISenderRepository senderRepository,
            IRequesterQueue requesterQueue,
            IMapper mapper,
            IServiceProvider serviceProvider) : base(serviceProvider)
        {
            _hookRepository   = hookRepository ?? throw new ArgumentNullException(nameof(hookRepository));
            _eventRepository  = eventRepository ?? throw new ArgumentNullException(nameof(eventRepository));
            _senderRepository = senderRepository ?? throw new ArgumentNullException(nameof(senderRepository));
            _requesterQueue   = requesterQueue ?? throw new ArgumentNullException(nameof(requesterQueue));

            _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
        }
		public SenderApplicationController(
			ISenderApplicationManager manager,
			IClientRepository clients,
			IIdentityService identity,
			ICountryRepository countries,
			ISenderRepository senders,
			IApplicationRepository applications)
		{
			_manager = manager;
			_clients = clients;
			_identity = identity;
			_countries = countries;
			_senders = senders;
			_applications = applications;
		}
Exemple #19
0
 public ExcelController(
     IExcelGenerator <BaseApplicationExcelRow> generator,
     IForwarderRepository forwarders,
     ICarrierRepository carriers,
     ISenderRepository senders,
     IApplicationExcelRowSource rowSource,
     IIdentityService identity)
 {
     _generator  = generator;
     _forwarders = forwarders;
     _carriers   = carriers;
     _senders    = senders;
     _rowSource  = rowSource;
     _identity   = identity;
 }
Exemple #20
0
		public ExcelController(
			IExcelGenerator<BaseApplicationExcelRow> generator,
			IForwarderRepository forwarders,
			ICarrierRepository carriers,
			ISenderRepository senders,
			IApplicationExcelRowSource rowSource,
			IIdentityService identity)
		{
			_generator = generator;
			_forwarders = forwarders;
			_carriers = carriers;
			_senders = senders;
			_rowSource = rowSource;
			_identity = identity;
		}
Exemple #21
0
 public AdminAwbController(
     IIdentityService identity,
     IAwbManager awbManager,
     IAwbPresenter awbPresenter,
     IAwbUpdateManager awbUpdateManager,
     IBrokerRepository brokers,
     ISenderRepository senders)
 {
     _identity         = identity;
     _awbManager       = awbManager;
     _awbPresenter     = awbPresenter;
     _awbUpdateManager = awbUpdateManager;
     _brokers          = brokers;
     _senders          = senders;
 }
Exemple #22
0
		public UserService(IUserRepository users,
			IAdminRepository admins,
			IManagerRepository managers,
			ICarrierRepository carriers,
			ISenderRepository senders,
			IForwarderRepository forwarders,
			IBrokerRepository brokers)
		{
			_users = users;
			_admins = admins;
			_managers = managers;
			_carriers = carriers;
			_senders = senders;
			_forwarders = forwarders;
			_brokers = brokers;
		}
Exemple #23
0
 public UserService(IUserRepository users,
                    IAdminRepository admins,
                    IManagerRepository managers,
                    ICarrierRepository carriers,
                    ISenderRepository senders,
                    IForwarderRepository forwarders,
                    IBrokerRepository brokers)
 {
     _users      = users;
     _admins     = admins;
     _managers   = managers;
     _carriers   = carriers;
     _senders    = senders;
     _forwarders = forwarders;
     _brokers    = brokers;
 }
 public ApplicationListController(
     IApplicationListPresenter presenter,
     IClientRepository clients,
     ISenderRepository senders,
     IAwbRepository awbs,
     ICarrierRepository carriers,
     IStateConfig stateConfig,
     IIdentityService identity,
     IForwarderRepository forwarders)
 {
     _presenter   = presenter;
     _clients     = clients;
     _senders     = senders;
     _awbs        = awbs;
     _carriers    = carriers;
     _stateConfig = stateConfig;
     _identity    = identity;
     _forwarders  = forwarders;
 }
Exemple #25
0
 public EventFacade(
     IEventRepository events,
     ISerializer serializer,
     IPartitionConverter converter,
     IIdentityService identity,
     IApplicationRepository applications,
     IClientRepository clients,
     IAwbRepository awbs,
     ISenderRepository senders)
 {
     _events       = events;
     _serializer   = serializer;
     _converter    = converter;
     _identity     = identity;
     _applications = applications;
     _clients      = clients;
     _awbs         = awbs;
     _senders      = senders;
 }
		public ApplicationListController(
			IApplicationListPresenter presenter,
			IClientRepository clients,
			ISenderRepository senders,
			IAwbRepository awbs,
			ICarrierRepository carriers,
			IStateConfig stateConfig,
			IIdentityService identity,
			IForwarderRepository forwarders)
		{
			_presenter = presenter;
			_clients = clients;
			_senders = senders;
			_awbs = awbs;
			_carriers = carriers;
			_stateConfig = stateConfig;
			_identity = identity;
			_forwarders = forwarders;
		}
Exemple #27
0
		public ApplicationController(
			IAdminApplicationManager manager,
			IApplicationPresenter presenter,
			IForwarderRepository forwarders,
			ICarrierRepository carriers,
			IIdentityService identity,
			ICountryRepository countries,
			IApplicationRepository applications,
			IClientRepository clients,
			ISenderRepository senders)
		{
			_manager = manager;
			_presenter = presenter;
			_forwarders = forwarders;
			_carriers = carriers;
			_identity = identity;
			_countries = countries;
			_applications = applications;
			_clients = clients;
			_senders = senders;
		}
 public ApplicationController(
     IAdminApplicationManager manager,
     IApplicationPresenter presenter,
     IForwarderRepository forwarders,
     ICarrierRepository carriers,
     IIdentityService identity,
     ICountryRepository countries,
     IApplicationRepository applications,
     IClientRepository clients,
     ISenderRepository senders)
 {
     _manager      = manager;
     _presenter    = presenter;
     _forwarders   = forwarders;
     _carriers     = carriers;
     _identity     = identity;
     _countries    = countries;
     _applications = applications;
     _clients      = clients;
     _senders      = senders;
 }
Exemple #29
0
		public AirWaybillController(
			IAwbPresenter awbPresenter,
			IApplicationAwbManager applicationAwbManager,
			IAwbManager awbManager,
			IStateConfig config,
			IAwbRepository awbs,
			IAwbStateManager awbStateManager,
			ISenderRepository senders,
			IBrokerRepository brokers,
			IIdentityService identity)
		{
			_awbPresenter = awbPresenter;
			_brokers = brokers;
			_applicationAwbManager = applicationAwbManager;
			_awbManager = awbManager;
			_config = config;
			_awbs = awbs;
			_awbStateManager = awbStateManager;
			_senders = senders;
			_brokers = brokers;
			_identity = identity;
		}
Exemple #30
0
		public IdentityService(
			IUserRepository users,
			IAdminRepository admins,
			IManagerRepository managers,
			ICarrierRepository carriers,
			ISenderRepository senders,
			IClientRepository clients,
			IForwarderRepository forwarders,
			IBrokerRepository brokers)
		{
			if(HttpContext.Current == null)
				throw new NotSupportedException("UserHolder works only when the HttpContext.Current is presented");

			_users = users;
			_admins = admins;
			_managers = managers;
			_carriers = carriers;
			_senders = senders;
			_clients = clients;
			_forwarders = forwarders;
			_brokers = brokers;
		}
Exemple #31
0
 public AirWaybillController(
     IAwbPresenter awbPresenter,
     IApplicationAwbManager applicationAwbManager,
     IAwbManager awbManager,
     IStateConfig config,
     IAwbRepository awbs,
     IAwbStateManager awbStateManager,
     ISenderRepository senders,
     IBrokerRepository brokers,
     IIdentityService identity)
 {
     _awbPresenter          = awbPresenter;
     _brokers               = brokers;
     _applicationAwbManager = applicationAwbManager;
     _awbManager            = awbManager;
     _config          = config;
     _awbs            = awbs;
     _awbStateManager = awbStateManager;
     _senders         = senders;
     _brokers         = brokers;
     _identity        = identity;
 }
		public ApplicationEventRecipientsFacade(
			IAwbRepository awbs,
			IApplicationRepository applications,
			IAdminRepository admins,
			IManagerRepository managers,
			ISenderRepository senders,
			IClientRepository clients,
			ICarrierRepository carriers,
			IForwarderRepository forwarders,
			IBrokerRepository brokers,
			IEventEmailRecipient recipients)
		{
			_awbs = awbs;
			_applications = applications;
			_admins = admins;
			_managers = managers;
			_senders = senders;
			_clients = clients;
			_carriers = carriers;
			_forwarders = forwarders;
			_brokers = brokers;
			_recipients = recipients;
		}
Exemple #33
0
 public ApplicationEventRecipientsFacade(
     IAwbRepository awbs,
     IApplicationRepository applications,
     IAdminRepository admins,
     IManagerRepository managers,
     ISenderRepository senders,
     IClientRepository clients,
     ICarrierRepository carriers,
     IForwarderRepository forwarders,
     IBrokerRepository brokers,
     IEventEmailRecipient recipients)
 {
     _awbs         = awbs;
     _applications = applications;
     _admins       = admins;
     _managers     = managers;
     _senders      = senders;
     _clients      = clients;
     _carriers     = carriers;
     _forwarders   = forwarders;
     _brokers      = brokers;
     _recipients   = recipients;
 }
Exemple #34
0
        public IdentityService(
            IUserRepository users,
            IAdminRepository admins,
            IManagerRepository managers,
            ICarrierRepository carriers,
            ISenderRepository senders,
            IClientRepository clients,
            IForwarderRepository forwarders,
            IBrokerRepository brokers)
        {
            if (HttpContext.Current == null)
            {
                throw new NotSupportedException("UserHolder works only when the HttpContext.Current is presented");
            }

            _users      = users;
            _admins     = admins;
            _managers   = managers;
            _carriers   = carriers;
            _senders    = senders;
            _clients    = clients;
            _forwarders = forwarders;
            _brokers    = brokers;
        }
Exemple #35
0
 public SenderService(ISenderRepository senders, IUserRepository users)
 {
     _senders = senders;
     _users   = users;
 }
Exemple #36
0
 public SenderService(ISenderRepository senderRepository, IMapper mapper, IServiceProvider serviceProvider) :
     base(serviceProvider)
 {
     _senderRepository = senderRepository ?? throw new ArgumentNullException(nameof(senderRepository));
     _mapper           = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Exemple #37
0
		public SenderService(ISenderRepository senders, IUserRepository users)
		{
			_senders = senders;
			_users = users;
		}
		public AwbEventLocalizedDataHelper(IAwbRepository awbs, ISenderRepository senders)
		{
			_awbs = awbs;
			_senders = senders;
		}
Exemple #39
0
 public SenderService(ISenderRepository SenderRepository, IUnitOfWork UnitOfWork)
 {
     this._senderRepository = SenderRepository;
     this._unitOfWork       = UnitOfWork;
 }
 public SendToEndpointUseCase(ISenderRepository senderRepository)
 {
     this.senderRepository = senderRepository;
 }
 public CommonLocalizedDataHelper(ISerializer serializer, IClientRepository clients, ISenderRepository senders)
 {
     _serializer = serializer;
     _clients    = clients;
     _senders    = senders;
 }
		public CommonLocalizedDataHelper(ISerializer serializer, IClientRepository clients, ISenderRepository senders)
		{
			_serializer = serializer;
			_clients = clients;
			_senders = senders;
		}
Exemple #43
0
 public Procesor(ISerializeModel _serializeModel, ISenderRepository _senderRepository)
 {
     serializeModel   = _serializeModel;
     senderRepository = _senderRepository;
 }
Exemple #44
0
 public Procesor(ISenderRepository _senderRepository)
 {
     senderRepository = _senderRepository;
 }
Exemple #45
0
 public AwbEventLocalizedDataHelper(IAwbRepository awbs, ISenderRepository senders)
 {
     _awbs    = awbs;
     _senders = senders;
 }
Exemple #46
0
 private void SetSenderRepository(ISenderRepository value)
 {
     senderRepository = value;
 }