Пример #1
0
        public IActionResult Index()
        {
            var pupils = PupilManager.GetAll().Select(p => p.ToModelP()).ToList();

            return(View(pupils));
        }
Пример #2
0
        public IActionResult Average()
        {
            var pupils = PupilManager.GetAll().Select(s => s.ToModelP()).ToList();

            return(View(pupils));
        }