示例#1
0
 public ApplicationsController(
     IForwarderApplication forwarderApplication,
     IApplicationListPresenter presenter,
     IIdentityService identity,
     IForwarderRepository forwarders)
 {
     _forwarderApplication = forwarderApplication;
     _presenter            = presenter;
     _identity             = identity;
     _forwarders           = forwarders;
 }
示例#2
0
		public ApplicationsController(
			IForwarderApplication forwarderApplication,
			IApplicationListPresenter presenter,
			IIdentityService identity,
			IForwarderRepository forwarders)
		{
			_forwarderApplication = forwarderApplication;
			_presenter = presenter;
			_identity = identity;
			_forwarders = forwarders;
		}
		public void TestInitialize()
		{
			_context = new MockContainer();
			_service = _context.Create<ApplicationListPresenter>();
			_orders = new[]
			{
				new Order
				{
					OrderType = OrderType.State,
					Desc = false
				}
			};
			_stateIds = new[] { 0L };
			_models = _context.CreateMany<ApplicationListItem>().ToArray();
		}
示例#4
0
 public void TestInitialize()
 {
     _context = new MockContainer();
     _service = _context.Create <ApplicationListPresenter>();
     _orders  = new[]
     {
         new Order
         {
             OrderType = OrderType.State,
             Desc      = false
         }
     };
     _stateIds = new[] { 0L };
     _models   = _context.CreateMany <ApplicationListItem>().ToArray();
 }
示例#5
0
		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;
		}
 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;
 }