public async Task <InvokeResult> AttachChildDeviceAsync(string parentid, string childid) { var repo = await GetDeviceRepositoryWithSecretsAsync(); return(await _deviceManager.AttachChildDeviceAsync(repo, parentid, childid, GetListRequestFromHeader(), OrgEntityHeader, UserEntityHeader)); }