public ActionResult ShowCoaches()
        {
            KaratePerson karatePerson = new KaratePerson();;

            ViewBag.CountCoaches = karatePerson.CountPeople(db.Coaches.ToList());
            return(View(db.Coaches.ToList()));
        }
Exemple #2
0
        public ActionResult ShowStudents()
        {
            KaratePerson karatePerson = new KaratePerson();

            ViewBag.CountStudents = karatePerson.CountPeople(db.KarateStudents.ToList());
            return(View(db.KarateStudents.ToList()));
        }