public IActionResult Create(string EquipmentName) { var model = new CharacterSheetApp.Models.Equipment(); Models.Equipment.Create(EquipmentName); return(RedirectToAction("Index")); }
public IActionResult Index() { var aEquipment = new CharacterSheetApp.Models.Equipment(); aEquipment.Name = "Shield"; return(View(aEquipment)); }