public IActionResult Index() { var pupils = PupilManager.GetAll().Select(p => p.ToModelP()).ToList(); return(View(pupils)); }
public IActionResult Average() { var pupils = PupilManager.GetAll().Select(s => s.ToModelP()).ToList(); return(View(pupils)); }