private static async Task <bool> RunRemoveAndReturnExitCode(RemoveOptions opts) { if (!configurationHelper.ReadConfig()) { return(false); } return(await iotDeviceHelper.RemoveDevice(opts.DevEui, configurationHelper)); }
private static object RunRemoveAndReturnExitCode(RemoveOptions opts) { if (!configurationHelper.ReadConfig()) { return(false); } return(iotDeviceHelper.RemoveDevice(opts.DevEui, configurationHelper).Result); }