private void Update(object state) { _logger.LogInformation("ETL to Elastic Started..."); try { _gitLabElasticService.Update(); _logger.LogInformation("ETL to Elastic Ended."); } catch (Exception e) { _logger.LogError(e, "ETL to Elastic ERROR!"); } }
public IActionResult UpdateRepositories() { _gitLabElasticService.Update(); return(NoContent()); }