public ActionResult DeleteConfirmed(int id) { var aluno = _alunoApp.GetById(id); _alunoApp.Remove(aluno); return(RedirectToAction("Index")); }
public IActionResult Delete(Guid id) { _alunoAppService.Remove(id); return(Response <Guid>()); }