Eliminar Registro

Eliminar Registro

<td>
    <a th:href="@{/project/delete/(idProject=${project.idProject})}">Eliminar</a>
</td>

El Controlador de eliminar

@GetMapping("/delete") 
public String deleteProject(Project project) {
    projectService.delete(project);
    return "redirect:/project/list";
}