public AccountTransactionTabPresenter(IAccountTransactionsView view, IReportRepository repository)
 {
     ArgumentChecker.ThrowIfNull(view, "view");
     ArgumentChecker.ThrowIfNull(repository, "repository");
     this.repository = repository;
     this.view       = view;
 }
        //constructor
        public AccountTransactionsPresenter(IAccountTransactionsView view, ITransactionReportsService service, IReportManager reportManager)
        {
            ArgumentChecker.ThrowIfNull(view, "view");
            ArgumentChecker.ThrowIfNull(service, "service");
            ArgumentChecker.ThrowIfNull(reportManager, "reportManager");

            this.coderef       = 5000 + view.ClientId(); //TODO: this code is for retention account transactions
            this.view          = view;
            this.service       = service;
            this.reportManager = reportManager;
        }
 public static AccountTransactionTabPresenter Create(IAccountTransactionsView view)
 {
     return(new AccountTransactionTabPresenter(view, RepositoryFactory.CreateReportRepository()));
 }