public List <ServiceHeartbeat> GetAll()
 {
     return(_serviceHeartbeatRepository.GetAll());
 }
 public async Task <List <ServiceHeartbeat> > GetAll()
 {
     return(await _serviceHeartbeatRepository.GetAll());
 }