public async Task <ActionResult> Edit(Student student)
        {
            try
            {
                await _student.Edit(student);

                TempData["pesan"] = $"Data student {student.FirstMidName} berhasil diedit";
                return(RedirectToAction(nameof(Index)));
            }
            catch (Exception ex)
            {
                ViewBag.Pesan = $"Pesan Kesalahan: {ex.Message}";
                return(View());
            }
        }