public HousekeeperService(IHouseKeeperRepository houseKeeperRepository, IEmailHelper emailHelper, IStatementHelper statementHelper,
                           IXtraMessageBox xtraMessageBox)
 {
     _houseKeeperRepository = houseKeeperRepository;
     _emailHelper           = emailHelper;
     _statementHelper       = statementHelper;
     _xtraMessageBox        = xtraMessageBox;
 }
 public HousekeeperService(IHouseKeeperRepository storage      = null,
                           IStatementReportGenerator generator = null,
                           IEmailHelper emailHelper            = null,
                           IXtraMessageBox messageBox          = null)
 {
     _storage     = storage ?? new HouseKeeperRepository();
     _generator   = generator ?? new StatementReportGenerator();
     _emailHelper = emailHelper ?? new EmailHelper();
     _messageBox  = messageBox ?? new XtraMessageBox();
 }
 public HousekeeperHelper(IHouseKeeperRepository repo,
                          IStatementGenerator statementGenerator,
                          IEmailSender emailSender,
                          IXtraMessageBox xtraMessageBox)
 {
     _statementGenerator = statementGenerator;
     _emailSender        = emailSender;
     _xtraMessageBox     = xtraMessageBox;
     _repo = repo;
 }