BMA EHR API Document
Loading...
Searching...
No Matches
BMA.EHR.Retirement.Service.Controllers.RetirementResignController Class Reference
Inheritance diagram for BMA.EHR.Retirement.Service.Controllers.RetirementResignController:
Collaboration diagram for BMA.EHR.Retirement.Service.Controllers.RetirementResignController:

Public Member Functions

 RetirementResignController (RetirementRepository repository, NotificationRepository repositoryNoti, ApplicationDBContext context, MinIOService documentService, IHttpContextAccessor httpContextAccessor)
 
async Task< ActionResult< ResponseObject > > GetListByProfile ()
 list รายการลาออกของ User
 
async Task< ActionResult< ResponseObject > > GetListByAdmin ()
 list รายการลาออกของ Admin
 
async Task< ActionResult< ResponseObject > > GetDetailByUser (Guid id)
 get รายละเอียดลาออก
 
async Task< ActionResult< ResponseObject > > Post ([FromForm] RetirementResignRequest req)
 สร้างการลาออก
 
async Task< ActionResult< ResponseObject > > Put ([FromForm] RetirementResignRequest req, Guid id)
 แก้ไขการลาออก
 
async Task< ActionResult< ResponseObject > > Delete (Guid id)
 ลบลาออก
 
async Task< ActionResult< ResponseObject > > AdminConfirm ([FromBody] RetirementReasonRequest req, Guid id)
 อนุมัติคำลาออก
 
async Task< ActionResult< ResponseObject > > AdminReject ([FromBody] RetirementReasonRequest req, Guid id)
 ไม่อนุมัติคำลาออก
 
async Task< ActionResult< ResponseObject > > CommanderConfirm ([FromBody] RetirementReasonRequest req, Guid id)
 ผู้บังคับบัญชา อนุมัติคำลาออก
 
async Task< ActionResult< ResponseObject > > CommanderReject ([FromBody] RetirementReasonDateRequest req, Guid id)
 ผู้บังคับบัญชา ไม่อนุมัติคำลาออก
 
async Task< ActionResult< ResponseObject > > OligarchConfirm ([FromBody] RetirementReasonRequest req, Guid id)
 ผู้มีอำนาจ อนุมัติคำลาออก
 
async Task< ActionResult< ResponseObject > > OligarchReject ([FromBody] RetirementReasonDateRequest req, Guid id)
 ผู้มีอำนาจ ไม่อนุมัติคำลาออก
 
async Task< ActionResult< ResponseObject > > PostToReport ([FromBody] RetirementProfileRequest req)
 สั่งรายชื่อไปออกคำสั่ง
 
async Task< ActionResult< ResponseObject > > GetListQuestion ()
 list แบบสอบถามหลังลาออก
 
async Task< ActionResult< ResponseObject > > GetByIdQuestion (Guid id)
 get รายละเอียดแบบสอบถามหลังลาออก
 
async Task< ActionResult< ResponseObject > > PostQuestion ([FromBody] RetirementQuestionRequest req)
 สร้างแบบสอบถามหลังลาออก
 
async Task< ActionResult< ResponseObject > > DeleteQuestion (Guid id)
 ลบแบบสอบถามหลังลาออก
 
async Task< ActionResult< ResponseObject > > PutQuestion ([FromBody] RetirementQuestionRequest req, Guid id)
 แก้ไขแบบสอบถามหลังลาออก
 
async Task< ActionResult< ResponseObject > > PutQuestionComment ([FromBody] RetirementQuestionCommentRequest req, Guid id)
 แก้ไขคะแนนแบบสอบถามหลังลาออก
 
async Task< ActionResult< ResponseObject > > UpdateAppointQuestion ([FromBody] RetirementQuestionAppointRequest req, Guid id)
 แก้ไขกําหนดวันนัดหมายเพื่อทําการสัมภาษณ์การลาออก
 
async Task< ActionResult< ResponseObject > > GetQuestionnaireQuestion ()
 list คำถาม
 
async Task< ActionResult< ResponseObject > > UpdateQuestionnaireQuestion ([FromBody] RetirementQuestionnaireQuestionRequest req)
 update คำถาม
 

Additional Inherited Members

- Protected Member Functions inherited from BMA.EHR.Domain.Common.BaseController
virtual ActionResult< ResponseObjectSuccess (string message, object? result=null)
 
virtual ActionResult< ResponseObjectSuccess (object? result=null)
 
virtual ActionResult< ResponseObjectError (string message, string result, int statusCode=StatusCodes.Status500InternalServerError)
 
virtual ActionResult< ResponseObjectError (string message, int statusCode=StatusCodes.Status500InternalServerError)
 
virtual ActionResult< ResponseObjectError (Exception exception, string message, int statusCode=StatusCodes.Status500InternalServerError)
 
virtual ActionResult< ResponseObjectError (Exception exception, int statusCode=StatusCodes.Status500InternalServerError)
 

Constructor & Destructor Documentation

◆ RetirementResignController()

BMA.EHR.Retirement.Service.Controllers.RetirementResignController.RetirementResignController ( RetirementRepository  repository,
NotificationRepository  repositoryNoti,
ApplicationDBContext  context,
MinIOService  documentService,
IHttpContextAccessor  httpContextAccessor 
)
inline

Member Function Documentation

◆ AdminConfirm()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.AdminConfirm ( [FromBody] RetirementReasonRequest  req,
Guid  id 
)
inline

อนุมัติคำลาออก

Parameters
idId คำลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ AdminReject()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.AdminReject ( [FromBody] RetirementReasonRequest  req,
Guid  id 
)
inline

ไม่อนุมัติคำลาออก

Parameters
idId คำลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ CommanderConfirm()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.CommanderConfirm ( [FromBody] RetirementReasonRequest  req,
Guid  id 
)
inline

ผู้บังคับบัญชา อนุมัติคำลาออก

Parameters
idId คำลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ CommanderReject()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.CommanderReject ( [FromBody] RetirementReasonDateRequest  req,
Guid  id 
)
inline

ผู้บังคับบัญชา ไม่อนุมัติคำลาออก

Parameters
idId คำลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ Delete()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.Delete ( Guid  id)
inline

ลบลาออก

Parameters
idId ลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ DeleteQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.DeleteQuestion ( Guid  id)
inline

ลบแบบสอบถามหลังลาออก

Parameters
idId แบบสอบถามหลังลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetByIdQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.GetByIdQuestion ( Guid  id)
inline

get รายละเอียดแบบสอบถามหลังลาออก

Parameters
idId แบบสอบถามหลังลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetDetailByUser()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.GetDetailByUser ( Guid  id)
inline

get รายละเอียดลาออก

Parameters
idId ลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetListByAdmin()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.GetListByAdmin ( )
inline

list รายการลาออกของ Admin

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetListByProfile()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.GetListByProfile ( )
inline

list รายการลาออกของ User

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetListQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.GetListQuestion ( )
inline

list แบบสอบถามหลังลาออก

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetQuestionnaireQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.GetQuestionnaireQuestion ( )
inline

list คำถาม

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ OligarchConfirm()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.OligarchConfirm ( [FromBody] RetirementReasonRequest  req,
Guid  id 
)
inline

ผู้มีอำนาจ อนุมัติคำลาออก

Parameters
idId คำลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ OligarchReject()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.OligarchReject ( [FromBody] RetirementReasonDateRequest  req,
Guid  id 
)
inline

ผู้มีอำนาจ ไม่อนุมัติคำลาออก

Parameters
idId คำลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ Post()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.Post ( [FromForm] RetirementResignRequest  req)
inline

สร้างการลาออก

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ PostQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.PostQuestion ( [FromBody] RetirementQuestionRequest  req)
inline

สร้างแบบสอบถามหลังลาออก

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ PostToReport()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.PostToReport ( [FromBody] RetirementProfileRequest  req)
inline

สั่งรายชื่อไปออกคำสั่ง

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ Put()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.Put ( [FromForm] RetirementResignRequest  req,
Guid  id 
)
inline

แก้ไขการลาออก

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ PutQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.PutQuestion ( [FromBody] RetirementQuestionRequest  req,
Guid  id 
)
inline

แก้ไขแบบสอบถามหลังลาออก

Parameters
idId แบบสอบถามหลังลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ PutQuestionComment()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.PutQuestionComment ( [FromBody] RetirementQuestionCommentRequest  req,
Guid  id 
)
inline

แก้ไขคะแนนแบบสอบถามหลังลาออก

Parameters
idId แบบสอบถามหลังลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ UpdateAppointQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.UpdateAppointQuestion ( [FromBody] RetirementQuestionAppointRequest  req,
Guid  id 
)
inline

แก้ไขกําหนดวันนัดหมายเพื่อทําการสัมภาษณ์การลาออก

Parameters
idId กําหนดวันนัดหมายเพื่อทําการสัมภาษณ์การลาออก
Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ UpdateQuestionnaireQuestion()

async Task< ActionResult< ResponseObject > > BMA.EHR.Retirement.Service.Controllers.RetirementResignController.UpdateQuestionnaireQuestion ( [FromBody] RetirementQuestionnaireQuestionRequest  req)
inline

update คำถาม

Returns

<response code="200"></response> <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

The documentation for this class was generated from the following file: