//
        // GET: /Expense/Create
        public ActionResult Create()
        {
            var listCategoriesInteraction = new ListCategoriesInteraction();
            listCategoriesInteraction.performAction();

            return View(listCategoriesInteraction.ResponseModel);
        }
        public void shouldGetListOfAvailableCategories()
        {
            CategoryRepository repository = new CategoryRepository();
            repository.Add(new Entities.Category { Name = "Gas" });
            repository.Add(new Entities.Category { Name = "Food" });
            repository.Add(new Entities.Category { Name = "Gym" });

            var interaction = new ListCategoriesInteraction<RAMRepository.CategoryRepository>(repository);
            interaction.performAction();
            var categories = interaction.ResponseModel.Categories;

            Assert.IsTrue(categories.Contains("Gas"));
            Assert.IsTrue(categories.Contains("Food"));
            Assert.IsTrue(categories.Contains("Gym"));
        }