Throws an Error :Method not found .While Creating Index and Document

I am using Elasticsearch 7.5.1 with Nest Version 7.5.1 and ElasticSearch.Net 7.5.1 . While Creating Index got an error.
" Method not found: 'Nest.IndexResponse Nest.ElasticClient.IndexDocument(!!0)'." by using Query : Elasticclient.IndexDocument()