export payment
This commit is contained in:
parent
b7b2ea40d0
commit
9a71ab6b87
3 changed files with 105 additions and 0 deletions
|
|
@ -365,6 +365,32 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ข้อมูลเอกสารชำระเงิน
|
||||
/// </summary>
|
||||
/// <param name="examId">รหัสรอบสมัคร</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำการอ่านข้อมูลชำระเงินสำเร็จ</response>
|
||||
/// <response code="401">ไม่ได้ Login เข้าระบบ</response>
|
||||
/// <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
|
||||
[HttpGet("payment/{examId:length(36)}")]
|
||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||
public async Task<ActionResult<ResponseObject>> ExportsPaymentExamAsync(string examId)
|
||||
{
|
||||
try
|
||||
{
|
||||
var items = await _periodExamService.ExportsPaymentExamAsync(examId);
|
||||
|
||||
return Success(items);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return Error(ex);
|
||||
}
|
||||
}
|
||||
|
||||
// /// <summary>
|
||||
// /// รายชื่อผู้สมัครสอบรอ จัดการเลขที่นั่งสอบ
|
||||
// /// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue