예제 #1
0
 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;
         }
     }
 }
예제 #2
0
 public void ValidateModel(IKasAwalModel model)
 {
     _modelDAC.ValidateModel(model);
 }
예제 #3
0
 public void Update(IKasAwalModel model)
 {
     ValidateModel(model);
     _repo.Update(model);
 }
예제 #4
0
 public void Delete(IKasAwalModel model)
 {
     throw new NotImplementedException();
 }
예제 #5
0
 public void Insert(IKasAwalModel model)
 {
     throw new NotImplementedException();
 }