Esempio n. 1
0
        public void AddTemplate(Budget budget)
        {
            switch (budget.Name)
            {
            case "Incomes": this.list.AddRange(Income.Template());
                break;

            case "Expenses Fixed": this.list.AddRange(ExpenseFixed.Template());
                break;

            case "Expenses Variable": this.list.AddRange(ExpenseVariable.Template());
                break;
            }

            Console.WriteLine($"{budget.Name} Loaded!");
        }