private void AddItemCommandAction(object obj) { var form = new AddInstansi(); form.DataContext = new AddInstansiViewModel() { WindowClose = form.Close }; form.ShowDialog(); DataInstansi.Refresh(); }
private void DeleteItemCommandAction(object obj) { DataBasic.DataInstansi.Remove(obj as Instansi); DataInstansi.Refresh(); }