public bool GetHeartBeat() { using (var svc = new ServiceProxyHelper<IMediaService>("MediaService")) { return svc.Proxy.GetHeartBeat(); } } }