예제 #1
0
        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"));
 }