public IActionResult DeleteConfirmed(int id) { var student = _studentDal.Get(id); _studentDal.Remove(student); _redisDatabase.KeyDelete("studentList"); return(RedirectToAction(nameof(Index))); }