public ActionResult CreateIndex()
        {
            //ElasticClient elasticClient = ElasticSearchConnection.ElasticSearchClient();
            ElasticSearchConnection elasticSearchConnection = new ElasticSearchConnection();

            elasticSearchConnection.CreateIndex();
            return(RedirectToAction("Index"));
        }
 public ActionResult InserDataInFile()
 {
     ElasticSearchConnection.InserDataInFile();
     return(RedirectToAction("Index"));
 }