public ActionResult About()
        {
            var teachers     = _kullaniciService.GetByTeachers();
            var students     = _kullaniciService.GetByStudents();
            var lessons      = _lessonService.GetLessons();
            var appointments = _scheduleService.GetByAll();

            AboutCO model = new AboutCO()
            {
                TeacherCount     = teachers.Count(),
                StudentCount     = students.Count(),
                LessonCount      = lessons.Count(),
                AppointmentCount = appointments.Count()
            };

            return(View(model));
        }
Esempio n. 2
0
        public ActionResult GetStudents()
        {
            var students = _kullaniciService.GetByStudents();

            return(View(students));
        }