public ICurrencyRepo CreateChange(double Amount)
        {
            CurrencyRepo cr = new CurrencyRepo();

            switch (Amount)
            {
            case 2.0:
                cr.Coins.Add(new DollarCoin());
                cr.Coins.Add(new DollarCoin());
                break;

            case 1.5:
                cr.Coins.Add(new DollarCoin());
                cr.Coins.Add(new HalfDollar());
                break;

            case .75:
                cr.Coins.Add(new HalfDollar());
                cr.Coins.Add(new Quarter());
                break;

            case .11:
                cr.Coins.Add(new Dime());
                cr.Coins.Add(new Penny());
                break;

            case .06:
                cr.Coins.Add(new Nickel());
                cr.Coins.Add(new Penny());
                break;

            case .04:
                cr.Coins.Add(new Penny());
                cr.Coins.Add(new Penny());
                cr.Coins.Add(new Penny());
                cr.Coins.Add(new Penny());
                break;

            default:
                break;
            }

            return(cr);
        }
        public virtual ICurrencyRepo CreateChange(decimal Amount)
        {
            CurrencyRepo cr = new CurrencyRepo();

            //switch (Amount)
            //{
            //    case 2.0M:
            //        cr.Coins.Add(new DollarCoin());
            //        cr.Coins.Add(new DollarCoin());
            //        break;
            //    case 1.5M:
            //        cr.Coins.Add(new DollarCoin());
            //        cr.Coins.Add(new HalfDollar());
            //        break;
            //    case .75M:
            //        cr.Coins.Add(new HalfDollar());
            //        cr.Coins.Add(new Quarter());
            //        break;
            //    case .11M:
            //        cr.Coins.Add(new Dime());
            //        cr.Coins.Add(new Penny());
            //        break;
            //    case .06M:
            //        cr.Coins.Add(new Nickel());
            //        cr.Coins.Add(new Penny());
            //        break;
            //    case .04M:
            //        cr.Coins.Add(new Penny());
            //        cr.Coins.Add(new Penny());
            //        cr.Coins.Add(new Penny());
            //        cr.Coins.Add(new Penny());
            //        break;
            //    default:
            //        break;
            //}

            return(cr);
        }
        public ICurrencyRepo MakeChange(double Amount)
        {
            CurrencyRepo cr = new CurrencyRepo();

            return(cr);
        }
        public static ICurrencyRepo CreateChange(decimal amountTendered, decimal TotalCost)
        {
            CurrencyRepo repo = new CurrencyRepo();

            return(repo.MakeChange(amountTendered, TotalCost));
        }
        public static ICurrencyRepo CreateChange(decimal Amount)
        {
            CurrencyRepo repo = new CurrencyRepo();

            return(repo.MakeChange(Amount));
        }