diff --git a/BMA.EHR.Report.Service/Controllers/RetireReportController.cs b/BMA.EHR.Report.Service/Controllers/RetireReportController.cs
index c97e98e0..8508289a 100644
--- a/BMA.EHR.Report.Service/Controllers/RetireReportController.cs
+++ b/BMA.EHR.Report.Service/Controllers/RetireReportController.cs
@@ -10,11 +10,11 @@ using Telerik.Reporting.Processing;
namespace BMA.EHR.Report.Service.Controllers
{
[Route("api/v{version:apiVersion}/report/retire")]
- [ApiVersion("1.0")]
+ [ApiVersion("2.0")]
[ApiController]
[Produces("application/json")]
[Authorize]
- [SwaggerTag("รายงานระบบเกษียณ")]
+ [SwaggerTag("API รายงานระบบเกษียณ")]
public class RetireReportController : BaseController
{
private readonly RetireReportRepository _service;
@@ -28,6 +28,14 @@ namespace BMA.EHR.Report.Service.Controllers
_configuration = configuration;
}
+ ///
+ /// รายงานหน้าประกาศเกษียณ
+ ///
+ /// Id ของรอบเกษียณ
+ ///
+ /// เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ
+ /// ไม่ได้ Login เข้าระบบ
+ /// เมื่อเกิดข้อผิดพลาดในการทำงาน
[HttpGet("{Id}")]
public async Task> GetProfileRetirement([FromRoute] Guid Id)
{
@@ -97,12 +105,10 @@ namespace BMA.EHR.Report.Service.Controllers
organizationOrganization = profile.GetType().GetProperty("organizationOrganization").GetValue(profile).ToString(),
});
}
-
//Binding to Table
var tblProfile = (Telerik.Reporting.Table)report.Items["detailSection1"].Items["table1"];
tblProfile.DataSource = _profileList;
-
System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
InstanceReportSource instanceReportSource = new InstanceReportSource()
{
@@ -115,7 +121,5 @@ namespace BMA.EHR.Report.Service.Controllers
return File(content, "application/pdf", returnfile);
}
}
-
-
}
}