public RetentionSchedulePresenter(IRetentionSchedulesView view, IRetentionRepository repository) { ArgumentChecker.ThrowIfNull(view, "view"); ArgumentChecker.ThrowIfNull(repository, "repository"); this.view = view; this.repository = repository; }
public static RetentionSchedulePresenter Create(IRetentionSchedulesView view) { return(new RetentionSchedulePresenter(view, RepositoryFactory.CreateRetentionRepository())); }