示例#1
0
        public ActionResult Play(int id)
        {
            Tamagotchi tama = Tamagotchi.GetById(id);

            Console.Write('1');
            tama.PlayTama();
            return(View("Details", tama));
        }
示例#2
0
        public ActionResult Details(int id)
        {
            Tamagotchi tama = Tamagotchi.GetById(id);

            return(View(tama));
        }