String ICardService.AddAndShipBatch(String Merchant, String Batch)
        {
            // before we get here, the validation has made sure that only allowed chars are in the batch

            String CardToAdd;
            int    pos;
            String Result = SystemConstants.ApprovedResult;

            ICardRepository CardData = new CardRepository();

            pos = 0;

            while (pos < Batch.Length)
            {
                CardToAdd = NextCardInBatch(ref Batch, ref pos);
                if (CardToAdd.Length < 1)
                {
                    return(Result);
                }
                Result = CardData.AddCards(CardToAdd, 1, Merchant, "", "");
                if (Result != SystemConstants.ApprovedResult)
                {
                    break;
                }

                Result = CardData.ShipCards(Merchant, "",
                                            "", DateTime.Now,
                                            CardToAdd, 1, "");
                if (Result != SystemConstants.ApprovedResult)
                {
                    break;
                }
            }

            return(Result);
        }
        bool ICardService.CardAvailableToRegister(String CardToCheck)
        {
            ICardRepository CardData = new CardRepository();

            return(CardData.CardAvailableToRegister(CardToCheck));
        }