qol: simplify calls
This commit is contained in:
1 parent
1add4ee0f5
commit
9656c15c4b
61 files changed
+214
-214
No files matched your search
@@ -98,7 +98,7 @@ namespace Disco.Services.Devices.ManagedGroups
|
||||
|
||||
if (!string.IsNullOrEmpty(DeviceBatch.AssignedUsersLinkedGroup))
|
||||
{
|
||||
var config = ADManagedGroup.ConfigurationFromJson(DeviceBatch.AssignedUsersLinkedGroup);
|
||||
var config = ConfigurationFromJson(DeviceBatch.AssignedUsersLinkedGroup);
|
||||
|
||||
if (config != null && !string.IsNullOrWhiteSpace(config.GroupId))
|
||||
{
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace Disco.Services.Devices.ManagedGroups
|
||||
|
||||
if (!string.IsNullOrEmpty(DeviceBatch.DevicesLinkedGroup))
|
||||
{
|
||||
var config = ADManagedGroup.ConfigurationFromJson(DeviceBatch.DevicesLinkedGroup);
|
||||
var config = ConfigurationFromJson(DeviceBatch.DevicesLinkedGroup);
|
||||
|
||||
if (config != null && !string.IsNullOrWhiteSpace(config.GroupId))
|
||||
{
|
||||
|
||||
@@ -98,7 +98,7 @@ namespace Disco.Services.Devices.ManagedGroups
|
||||
|
||||
if (!string.IsNullOrEmpty(DeviceProfile.AssignedUsersLinkedGroup))
|
||||
{
|
||||
var config = ADManagedGroup.ConfigurationFromJson(DeviceProfile.AssignedUsersLinkedGroup);
|
||||
var config = ConfigurationFromJson(DeviceProfile.AssignedUsersLinkedGroup);
|
||||
|
||||
if (config != null && !string.IsNullOrWhiteSpace(config.GroupId))
|
||||
{
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace Disco.Services.Devices.ManagedGroups
|
||||
|
||||
if (!string.IsNullOrEmpty(DeviceProfile.DevicesLinkedGroup))
|
||||
{
|
||||
var config = ADManagedGroup.ConfigurationFromJson(DeviceProfile.DevicesLinkedGroup);
|
||||
var config = ConfigurationFromJson(DeviceProfile.DevicesLinkedGroup);
|
||||
|
||||
if (config != null && !string.IsNullOrWhiteSpace(config.GroupId))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user