public ActionResult DeleteConfirmed(Guid id) { try { _appService.Delete(id); return(RedirectToAction("Index")); } catch { return(View()); } }
public void DeletaFuncionario(int id) { _funcionarioAppService.Delete(id); }