convert DAGService to an interface