diff --git a/Controllers/ProfileReportController.cs b/Controllers/ProfileReportController.cs index ad8686c..1523713 100644 --- a/Controllers/ProfileReportController.cs +++ b/Controllers/ProfileReportController.cs @@ -237,7 +237,7 @@ namespace BMA.EHR.Report.Service.Controllers OcFullPath = data.result.OcFullPath != null ? data.result.OcFullPath : "-", Educations = data.result.Education != null && data.result.Education.Count > 0 ? data.result.Education - : new List { + : new List { new Educations { Institute = "-", Date = "-", @@ -333,6 +333,13 @@ namespace BMA.EHR.Report.Service.Controllers CurrentProvince = data.Result.Profile.Count > 0 ? data.Result.Profile[0].CurrentProvince : "-", Telephone = data.Result.Profile.Count > 0 ? data.Result.Profile[0].Telephone : "-", Url = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl : "-", + Url1 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl1 : null, + Url2 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl2 : null, + Url3 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl3 : null, + Url4 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl4 : null, + Url5 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl5 : null, + Url6 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl6 : null, + Url7 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl7 : null, Insignias = data.Result.Insignia, Leaves = data.Result.Leave, Certs = data.Result.Cert, diff --git a/Responses/kk1Responses.cs b/Responses/kk1Responses.cs index c40a0fe..feb9f61 100644 --- a/Responses/kk1Responses.cs +++ b/Responses/kk1Responses.cs @@ -10,7 +10,7 @@ namespace BMA.EHR.Report.Service.Responses { public string Status { get; set; } public string Message { get; set; } - public Data Result { get; set; } + public Data Result { get; set; } public class Data { @@ -60,6 +60,13 @@ namespace BMA.EHR.Report.Service.Responses public string? CurrentDistrict { get; set; } public string? CurrentProvince { get; set; } public string? ImgUrl { get; set; } + public string? ImgUrl1 { get; set; } + public string? ImgUrl2 { get; set; } + public string? ImgUrl3 { get; set; } + public string? ImgUrl4 { get; set; } + public string? ImgUrl5 { get; set; } + public string? ImgUrl6 { get; set; } + public string? ImgUrl7 { get; set; } } public class Insignia