public void RecordHeartbeat(string serviceName, string machineName)
 {
     _serviceHeartbeatRepository.RecordHeartbeat(serviceName, machineName, DateTime.UtcNow);
 }
 public async Task RecordHeartbeat(string serviceName, string machineName)
 {
     await _serviceHeartbeatRepository.RecordHeartbeat(serviceName, machineName, DateTime.UtcNow);
 }