public void Delete(int dtoId) { _employeeDomainService.Delete(dtoId); _employeeDomainService.SaveChange(); }
public IActionResult Delete(int id) { employeeDomainService.Delete(id); return(RedirectToAction("Index")); }