public IActionResult Edit(int id)
        {
            //get the product by id
            Student stu = StudentDb.GetStudentId(context, id);

            //show it on web page
            return(View(stu));
        }
        public IActionResult DeleteConfirm(int id)
        {
            //Get Product from database
            Student p = StudentDb.GetStudentId(context, id);

            StudentDb.Delete(context, p);

            return(RedirectToAction("Index"));
        }
        public IActionResult Delete(int id)
        {
            Student p = StudentDb.GetStudentId(context, id);

            return(View(p));
        }