public int Insert(Money money) { int amount = money.ToAmount(); if (IsInvalidMoney(money)) { return amount; } Amount += amount; return 0; }
public int Insert(Money money) { int amount = money.ToAmount(); if (IsInvalidMoney(money)) { return amount; } Amount += amount; return 0; }