diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs index 17d536ed..b4be0065 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs @@ -246,6 +246,7 @@ namespace BMA.EHR.Placement.Service.Controllers { Id = p.Id, EducationLevel = p.EducationLevel == null ? null : p.EducationLevel.Name, + EducationLevelId = p.EducationLevel == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.EducationLevel.Id, Institute = p.Institute, Degree = p.Degree, Field = p.Field, @@ -260,6 +261,7 @@ namespace BMA.EHR.Placement.Service.Controllers StartDate = p.StartDate, EndDate = p.EndDate, PositionPath = p.PositionPath == null ? null : p.PositionPath.Name, + PositionPathId = p.PositionPath == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.PositionPath.Id, IsEducation = p.IsEducation, }), RegistAddress = x.RegistAddress,