public ActionResult Create() { Attributes newAttribute = new Attributes(1, 1, 1); TamaName newTama = new TamaName(Request.Form["new-name"], newAttribute); List <TamaName> allTama = TamaName.GetAll(); return(View("Index", allTama)); }
public ActionResult Index() { List <TamaName> yourTamagotchi = TamaName.GetAll(); return(View(yourTamagotchi)); }