protected override async Task OnInitializedAsync()
        {
            AppState.SetComponentTitle("Master Barang", "");

            SatuanModel a = new SatuanModel {
                KdSatuan = 1, NamaSatuan = "Buah"
            };
            SatuanModel b = new SatuanModel {
                KdSatuan = 2, NamaSatuan = "Ikat"
            };
            SatuanModel c = new SatuanModel {
                KdSatuan = 3, NamaSatuan = "Bungkus"
            };

            satuans.Add(a);
            satuans.Add(b);
            satuans.Add(c);

            barangs = await MasterBarangData.GetAsync();
        }
 async Task ReloadAsync()
 {
     barangs = await MasterBarangData.GetAsync();
 }