Пример #1
0
        // GET: Student/Delete/5
        public ActionResult Delete(int id)
        {
            StudentDB objDB    = new StudentDB();
            var       students = objDB.DeleteValues(id);

            return(RedirectToAction(nameof(Index)));
        }