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(); }
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(); }
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; }