public LaporanTransaksiByDatePresenter() { _view = new LaporanTransaksiByDateView(); _services = new TransaksiByDateServices(new TransaksiByDateRepository()); _view.OnLoadData += _view_OnLoadData; _view.OnLabelSelisihTextChanged += _view_OnLabelSelisihTextChanged; _view.OnDateTimePickerTanggalValueChanged += _view_OnDateTimePickerTanggalValueChanged; _view.OnButtonCetakClick += _view_OnButtonCetakClick; }
public LaporanTransaksiByDateServicesDataAccessTests(ITestOutputHelper testOutupuHelper) { _services = new TransaksiByDateServices(new TransaksiByDateRepository()); _testOutputHelper = testOutupuHelper; }