Exemple #1
0
        public IActionResult Delete(String id)
        {
            dbContext.Delete(id);

            return(RedirectToAction("Index", "Employee"));
        }
Exemple #2
0
 public void Excluir(string id)
 {
     context.Delete(id);
 }
Exemple #3
0
 public void Delete(string id)
 {
     context.Delete(id);
 }