Exemplo n.º 1
0
        public RetentionSchedulePresenter(IRetentionSchedulesView view, IRetentionRepository repository)
        {
            ArgumentChecker.ThrowIfNull(view, "view");
            ArgumentChecker.ThrowIfNull(repository, "repository");

            this.view       = view;
            this.repository = repository;
        }
Exemplo n.º 2
0
 public static RetentionSchedulePresenter Create(IRetentionSchedulesView view)
 {
     return(new RetentionSchedulePresenter(view, RepositoryFactory.CreateRetentionRepository()));
 }