Exemplo n.º 1
0
 public CatalogoPresenter(ICatalogoView view, IRepository repository)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     if (repository == null)
     {
         throw new ArgumentNullException("repository");
     }
     _view       = view;
     _repository = repository;
 }
Exemplo n.º 2
0
 public CatalogoPresenter(ICatalogoView catalogoView)
     : this(catalogoView, RepositoryFactory.GetRepositoryService())
 {
 }