public async Task <IActionResult> HealthCheck()
        {
            try
            {
                await healthCheckService.CheckApplicationHealth();

                return(Ok());
            }
            catch (Exception ex)
            {
                logger.LogError(ex, $"An exception was thrown during the health check");
                throw;
            }
        }