public ActionResult DeleteConfirmed(int id)
        {
            var aluno = _alunoApp.GetById(id);

            _alunoApp.Remove(aluno);

            return(RedirectToAction("Index"));
        }
Пример #2
0
        public IActionResult Delete(Guid id)
        {
            _alunoAppService.Remove(id);

            return(Response <Guid>());
        }