public Guid CreatePersonFace(Item item, string groupId, Guid personId, Stream imageStream) { try { var faceResponse = FaceService.AddPersonFace(groupId, personId, imageStream); if (faceResponse == null) { return(Guid.Empty); } DataWrapper.UpdateFields(item, new Dictionary <ID, string> { { Settings.FacePersistedFaceIdFieldId, faceResponse.PersistedFaceId.ToString("D") } }); return(faceResponse.PersistedFaceId); } catch { } return(Guid.Empty); }