protected void Page_Init(object sender, EventArgs e) { _presenter = new Presentation.ProductListPresenter(this, ObjectFactory.GetInstance <Service.ProductService>()); this.ddlCustomerType.SelectedIndexChanged += delegate { _presenter.Display(); }; }
protected void Page_Init(object sender, EventArgs e) { _presenter = new ProductListPresenter(this, ObjectFactory.GetInstance<Service.ProductService>()); ddlCustomerType.SelectedIndexChanged += delegate { _presenter.Display(); }; }