private void hapus_btn_Click(object sender, RoutedEventArgs e)
        {
            keranjangController.deleteItem((KeranjangM)keranjang_dg.SelectedItem);
            this.DataContext = keranjangs;
            KeranjangView keranjangView = new KeranjangView();

            keranjangView.Show();
            this.Close();
        }
 public KeranjangController(KeranjangView _keranjangView)
 {
     keranjangView = _keranjangView;
     setPelanggan(sessionManager.getCurrentUser());
 }