Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public IActionResult ConfirmDeleteDepartment(int id) { try { _departmentService.DeleteDepartmentService(id); ViewData["Message"] = "Department Deleted"; return(View("Message")); } catch (Exception e) { ViewData["Message"] = e.Message; return(View("Message")); } }