@RequestMapping(value = "/todo/delete/{id}", method = RequestMethod.GET)
public String deleteById(@PathVariable("id") Long id, RedirectAttributes attributes) throws TodoNotFoundException {
LOGGER.debug("Deleting a to-do entry with id: {}", id);
Todo deleted = service.deleteById(id);
LOGGER.debug("Deleted to-do entry with information: {}", deleted);
addFeedbackMessage(attributes, FEEDBACK_MESSAGE_KEY_TODO_DELETED, deleted.getTitle());
return createRedirectViewPath(REQUEST_MAPPING_TODO_LIST);
}