def METHOD_NAME(route_details: tuple) -> Tuple[Router, tuple]:
    router = Router()
    router.ctx.app = app
    added_router = []
    for method, route in route_details:
        try:
            router.add(
                uri=f"/{route}",
                methods=frozenset({method}),
                host="localhost",
                handler=_handler,
            )
            added_router.append((method, route))
        except RouteExists:
            pass
    router.finalize()
    return router, tuple(added_router)