public List <ProductResult> ProcessIntegrated(ProductSearch processRequest) { System.Runtime.CompilerServices.ConfiguredTaskAwaitable <List <ProductResult> > task = Task.Run(async() => await _conditionService.GetProduct(processRequest)).ConfigureAwait(false); return(task.GetAwaiter().GetResult()); }