예제 #1
0
        public ActionResult AddTime()
        {
            Tama.Time();
            Tama.CheckForDead();
            List <Tama> allTama = Tama.GetAll();

            return(View("Index", allTama));
        }
예제 #2
0
        public ActionResult Create()
        {
            Tama        newTama = new Tama(Request.Form["name"]);
            List <Tama> allTama = Tama.GetAll();

            Tama.Time();
            Tama.CheckForDead();
            return(View("Index", allTama));
        }