public async Task <InvokeResult> AddDeviceToGroupAsync(string devicerepoid, String groupid, string deviceid) { var repo = await _repoManager.GetDeviceRepositoryAsync(devicerepoid, OrgEntityHeader, UserEntityHeader); return(await _deviceGroupManager.AddDeviceToGroupAsync(repo, groupid, deviceid, OrgEntityHeader, UserEntityHeader)); }
public async Task <InvokeResult <DeviceGroupEntry> > AddDeviceToGroupAsync(String groupid, string deviceid) { var repo = await GetDeviceRepositoryWithSecretsAsync(); return(await _deviceGroupManager.AddDeviceToGroupAsync(repo, groupid, deviceid, OrgEntityHeader, UserEntityHeader)); }