Exemplo n.º 1
0
        public IActionResult Create(string EquipmentName)
        {
            var model = new CharacterSheetApp.Models.Equipment();

            Models.Equipment.Create(EquipmentName);
            return(RedirectToAction("Index"));
        }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            var aEquipment = new CharacterSheetApp.Models.Equipment();

            aEquipment.Name = "Shield";

            return(View(aEquipment));
        }