public IActionResult PushElastic(bool clean) { logger.LogElasticClean("Elastic Search Clean", HttpContext, clean); Hangfire.BackgroundJob.Enqueue(() => elasticService.PushAllResultsAsync(clean)); return(Ok()); }
public IActionResult PushElastic(bool clean) { Hangfire.BackgroundJob.Enqueue(() => elasticService.PushAllResultsAsync(clean)); return(Ok()); }