Example #1
0
 public void MasukItem(Items items)
 {
     this._items.Add(items);
 }
Example #2
0
 public Dto.ItemsDto SetSnapShot(Items item)
 {
     return new Dto.ItemsDto() { Akun = item._akun, Nominal = item._nominal };
 }
 public void IsiItem()
 {
     var items = new Items("Ayam", 20000.0);
     ItemsDto snapshot = items.SnapShot();
     Assert.IsNotNull(snapshot);
 }