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