feature: support importing device computer name

This commit is contained in:
Gary Sharp
2022-11-03 16:50:39 +11:00
parent 81bd6ccd83
commit 58e467b6d6
8 changed files with 247 additions and 83 deletions
@@ -65,6 +65,7 @@ namespace Disco.Services
{
// Just Include:
// - Serial Number
// - Device Domain Id
// - Asset Number
// - Profile Id
// - Assigned User Id
@@ -102,6 +103,7 @@ namespace Disco.Services
Device d2 = new Device()
{
SerialNumber = d.SerialNumber.ToUpper(),
DeviceDomainId = d.DeviceDomainId,
AssetNumber = d.AssetNumber,
Location = d.Location,
CreatedDate = DateTime.Now,