Example #1
0
 public void RemoveShopLot(ShopLot lot)
 {
     if (!MyDb.RemoveData(lot.Name, "ShopLot"))
     {
         throw new ArgumentException("Goods is not exists");
     }
 }
Example #2
0
 public void RemoveAccount(Account account)
 {
     if (!MyDb.RemoveData(account.Name, "Account"))
     {
         throw new ArgumentException("Account is not exists", "account");
     }
 }