Beispiel #1
0
 public ProductPrensenter(IProductEntryView view)
 {
     _view  = view;
     _model = new ProductModel();
     SubscribeViewToEvents();
 }
Beispiel #2
0
 public ProductEntryPresenter(IProductEntryView view, ApplicationController appController, IProductEntryRepository repository)
 {
     this.view          = view;
     this.appController = appController;
     this.repository    = repository;
 }