diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementReceiveController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementReceiveController.cs index 91c65c86..68634c78 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementReceiveController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementReceiveController.cs @@ -1140,7 +1140,7 @@ namespace BMA.EHR.Placement.Service.Controllers { bodyProfile = new { - rank = string.Empty, + rank = string.IsNullOrEmpty(p.rank) ? string.Empty : p.rank, prefix = p.prefix == null ? string.Empty : p.prefix, firstName = p.firstName == null ? string.Empty : p.firstName, lastName = p.lastName == null ? string.Empty : p.lastName, @@ -1222,7 +1222,6 @@ namespace BMA.EHR.Placement.Service.Controllers }).ToList(); var baseAPIOrg = _configuration["API"]; - //var apiUrlOrg = $"{baseAPIOrg}/org/command/excexute/salary-current"; var apiUrlOrg = $"{_configuration["API"]}/org/command/excexute/create-officer-profile"; using (var client = new HttpClient()) {