public IActionResult Delete(String id) { dbContext.Delete(id); return(RedirectToAction("Index", "Employee")); }
public void Excluir(string id) { context.Delete(id); }
public void Delete(string id) { context.Delete(id); }