public RetentionDetailsTabPresenter(IRetentionDetailsTabView view, IRetentionRepository retentionRepository) { ArgumentChecker.ThrowIfNull(view, "view"); ArgumentChecker.ThrowIfNull(retentionRepository, "retentionRepository"); this.view = view; this.retentionRepository = retentionRepository; }
public static RetentionDetailsTabPresenter Create(IRetentionDetailsTabView view) { return(new RetentionDetailsTabPresenter(view, RepositoryFactory.CreateRetentionRepository())); }