/// <summary> /// Verifies the exists. /// </summary> private void VerifyExists() { if (!WishList.Exists(_databasePath, _wishListManufacturer, _wishListModel, out _errOut)) { WishList.Add(_databasePath, _wishListManufacturer, _wishListModel, _wishListPlaceToBuy, _wishListQty, _wishListPrice, _wishListNotes, out _errOut); } }
public void AddTest() { VerifyDoesntExist(); bool value = WishList.Add(_databasePath, _wishListManufacturer, _wishListModel, _wishListPlaceToBuy, _wishListQty, _wishListPrice, _wishListNotes, out _errOut); General.HasTrueValue(value, _errOut); }