Reusing of types between GraphQL and Rest - C#