Exemplo n.º 1
0
 private HoaDonPresenter(IHoaDonForm _view, IHoaDonRepository _repository, IModelStateWraper _state)
 {
     state           = _state;
     view            = _view;
     repository      = _repository;
     _view.Presenter = this;
 }
Exemplo n.º 2
0
 public HoaDonPresenter(IHoaDonForm _view, IModelStateWraper _state) : this(_view, new HoaDonRepository(), _state)
 {
     //view = _view;
     //state = _state;
     //_view.Presenter = this;
 }