public IActionResult Delete(int id) { var gua = _guarantor.DeleteGuarantor(id); return(RedirectToAction("ViewStudent", "Home", new { id = gua._student_id })); }
public IActionResult Delete(int id) { _guarantor.DeleteGuarantor(id); return(RedirectToAction("Read")); }