|
@@ -323,7 +323,7 @@ namespace PRSDesktop
|
|
|
foreach (var entry in entries)
|
|
|
{
|
|
|
var update = new Employee();
|
|
|
- update.ID = entry.ID;
|
|
|
+ update.SetID(entry.ID);
|
|
|
update.OrgChart.ReportsTo.ID = entry.ParentID;
|
|
|
update.OrgChart.Color = entry.Color;
|
|
|
update.OrgChart.Visible = entry.Visible;
|
|
@@ -342,7 +342,7 @@ namespace PRSDesktop
|
|
|
foreach (var entry in entries)
|
|
|
{
|
|
|
var update = new EmployeePosition();
|
|
|
- update.ID = entry.ID;
|
|
|
+ update.SetID(entry.ID);
|
|
|
update.OrgChart.ReportsTo.ID = entry.ParentID;
|
|
|
update.OrgChart.Color = entry.Color;
|
|
|
update.OrgChart.Visible = entry.Visible;
|
|
@@ -361,7 +361,7 @@ namespace PRSDesktop
|
|
|
foreach (var entry in entries)
|
|
|
{
|
|
|
var update = new Role();
|
|
|
- update.ID = entry.ID;
|
|
|
+ update.SetID(entry.ID);
|
|
|
update.OrgChart.ReportsTo.ID = entry.ParentID;
|
|
|
update.OrgChart.Color = entry.Color;
|
|
|
update.OrgChart.Visible = entry.Visible;
|