Exemplo n.º 1
0
 // GET: Program/Delete/5
 public IActionResult Delete(int id)
 {
     return((programService.DeteteByID(id)) ? RedirectToAction("Index") : (IActionResult)View());
 }