private void _view_OnLoadData(object sender, EventArgs e) { using (new WaitCursorHandler()) { if (_view.TextBoxTotal != null) { _model = _services.GetByTanggal(DateTime.Now.Date); _view.TextBoxTotal.Text = _model.total.ToString("N0"); ((Form)_view).ActiveControl = _view.ButtonSave; } } }
public void ValidateModel(IKasAwalModel model) { _modelDAC.ValidateModel(model); }
public void Update(IKasAwalModel model) { ValidateModel(model); _repo.Update(model); }
public void Delete(IKasAwalModel model) { throw new NotImplementedException(); }
public void Insert(IKasAwalModel model) { throw new NotImplementedException(); }