Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        public ActionResult Details(int id)
        {
            TamaName Tamagotchi = TamaName.Find(id);

            return(View(Tamagotchi));
        }
Ejemplo n.º 3
0
        public ActionResult Index()
        {
            List <TamaName> yourTamagotchi = TamaName.GetAll();

            return(View(yourTamagotchi));
        }