private void Update_Click(object sender, RoutedEventArgs e) { if (saleBillViewModel.IsValidModel()) { var isUpdate = _saleBillBusiness.Update(saleBillViewModel); if (isUpdate) { MessageBox.Show("Đã cập nhật thành công!", "Update", MessageBoxButton.OK, MessageBoxImage.Information); } else { MessageBox.Show("Cập nhật không thành công!", "Update", MessageBoxButton.OK, MessageBoxImage.Error); } } }