Beispiel #1
0
        public ShippingScreenPresenter(IShippingScreen screen, IShipperRepository repository)
        {
            _screen = screen;
            _screen.AttachShippingScreenPresenter(this);
            _repository = repository;

            screen.States = repository.GetShippableStates();
            ShipperSelected();
        }
        public ShippingScreenPresenter(IShippingScreen screen, IShipperRepository repository)
        {
            _screen = screen;
            _screen.AttachShippingScreenPresenter(this);
            _repository = repository;

            screen.States = repository.GetShippableStates();
            ShipperSelected();
        }