Example #1
0
 public DiscountsPresenter(IDiscountsView view, ITransactionReportsService service, IReportManager reportManager)
 {
     ArgumentChecker.ThrowIfNull(view, "view");
     ArgumentChecker.ThrowIfNull(service, "service");
     ArgumentChecker.ThrowIfNull(reportManager, "reportManager");
     this.reportManager = reportManager;
     this.view          = view;
     this.service       = service;
 }
        public UnclaimedRepurchasesPresenter(IUnclaimedRepurchasesView view, ITransactionReportsService service, IReportManager reportManager)
        {
            ArgumentChecker.ThrowIfNull(view, "view");
            ArgumentChecker.ThrowIfNull(service, "service");
            ArgumentChecker.ThrowIfNull(reportManager, "reportManager");

            this.reportManager = reportManager;
            this.view          = view;
            this.service       = service;
        }
        public CreditBalanceTransfersPresenter(ICreditBalanceTransfersView view, ITransactionReportsService service, IReportManager reportManager)
        {
            ArgumentChecker.ThrowIfNull(view, "view");
            ArgumentChecker.ThrowIfNull(service, "service");
            ArgumentChecker.ThrowIfNull(reportManager, "reportManager");

            this.reportManager = reportManager;
            this.view          = view;
            this.service       = service;
        }
        //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;
        }