def delete(id): animal_repository.delete(id) return redirect('/animals')
def delete_animal(id): animal_repository.delete(id) return redirect("/animals")