public IActionResult Delete(int id) { return(Ok(_employeeDirectoryService.DeleteEmployee(id)? "Deleted succesfully." : "Filed to delete!")); }
public IActionResult Delete(int id) { return(Ok(_employeeDirectoryService.DeleteEmployee(id)? "Deleted succesfully." : "Filed to delete!")); }