public async Task <ListResponse <DeviceConnectionEvent> > GetDeviceConnectionEventsAsync(string devicerepoid, string deviceid) { var repo = await _repoManager.GetDeviceRepositoryWithSecretsAsync(devicerepoid, OrgEntityHeader, UserEntityHeader); return(await _deviceManager.GetConnectionEventsForDeviceAsync(repo, deviceid, GetListRequestFromHeader(), OrgEntityHeader, UserEntityHeader)); }