public void TestRegisterExpenseType()
        {
            ExpenseTypeController retC = new ExpenseTypeController();
            retC.RegisterExpenseType("AAA", "aaa");
            retC.RegisterExpenseType("A1B1", "testes");

            List<ExpenseType> list = PersistenceFactory.GetFactory().GetRepository().GetExpenseTypeRepository().All();

            Assert.AreEqual(list[0].ToString(), "AAA - aaa");
            Assert.AreEqual(list[1].ToString(), "A1B1 - testes");
        }
        /// <summary>
        /// The specific method to the register expense type ui
        /// </summary>
        public void ShowRegisterExpenseType()
        {
            string key, description;

            Console.WriteLine("Insert the key for the expense type");
            key = Console.ReadLine();
            Console.WriteLine("Insert the description fot the expense type");
            description = Console.ReadLine();

            ExpenseTypeController retC = new ExpenseTypeController();
            retC.RegisterExpenseType(key, description);
        }