public async Task TermQueryWithBoolFilter_Test()
        {
            var testProducts = TestData.GetTestProducts();
            var controller = new ElasticSearchController();

            IHttpActionResult result = await controller.TermQueryWithBoolFilter(testProducts[0]);
            Assert.IsInstanceOfType(result, typeof(OkNegotiatedContentResult<ELSresult>));
            IHttpActionResult result2 = await controller.TermQueryWithBoolFilter(null);
            Assert.IsInstanceOfType(result2, typeof(BadRequestErrorMessageResult));
        }
        public async Task GetSampledata_Test()
        {
            var testProducts = TestData.GetTestProducts();
            var controller = new ElasticSearchController();

            foreach (var item in testProducts)
            {
                IHttpActionResult result = await controller.GetSampledata(item);             
                Assert.IsInstanceOfType(result, typeof(OkNegotiatedContentResult<ELSresult>));
                IHttpActionResult result2 = await controller.GetSampledata(null);
                Assert.IsInstanceOfType(result2, typeof(BadRequestErrorMessageResult));
            }
           
        }