public TransactionReportsService(ITransactionReportView view, IReportRepository repository) { ArgumentChecker.ThrowIfNull(view, "view"); ArgumentChecker.ThrowIfNull(repository, "repository"); this.view = view; this.repository = repository; }
public static TransactionReportsService Create(ITransactionReportView view) { return(new TransactionReportsService(view, RepositoryFactory.CreateReportRepository())); }