BMA EHR API Document
Loading...
Searching...
No Matches
BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController Class Reference
Inheritance diagram for BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController:
BMA.EHR.Domain.Common.BaseController

Public Member Functions

 DisciplineComplaint_ChannelController (DisciplineDbContext context, MinIOService documentService, IHttpContextAccessor httpContextAccessor)
 
async Task< ActionResult< ResponseObject > > GetDiscipline (int page=1, int pageSize=25, string keyword="")
 list รายการช่องทางการร้องเรียนระบบวินัย
 
async Task< ActionResult< ResponseObject > > GetByDiscipline (Guid id)
 get รายการช่องทางการร้องเรียนระบบวินัย
 
async Task< ActionResult< ResponseObject > > CreateDiscipline ([FromBody] DisciplineComplaint_ChannelRequest req)
 สร้างรายการช่องทางการร้องเรียนระบบวินัย
 
async Task< ActionResult< ResponseObject > > UpdateDiscipline (Guid id, [FromBody] DisciplineComplaint_ChannelRequest req)
 แก้ไขรายการช่องทางการร้องเรียนระบบวินัย
 
async Task< ActionResult< ResponseObject > > DeleteDiscipline (Guid id)
 ลบรายการช่องทางการร้องเรียนระบบวินัย
 

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

◆ DisciplineComplaint_ChannelController()

BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController.DisciplineComplaint_ChannelController ( DisciplineDbContext  context,
MinIOService  documentService,
IHttpContextAccessor  httpContextAccessor 
)
inline

Member Function Documentation

◆ CreateDiscipline()

async Task< ActionResult< ResponseObject > > BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController.CreateDiscipline ( [FromBody] DisciplineComplaint_ChannelRequest  req)
inline

สร้างรายการช่องทางการร้องเรียนระบบวินัย

Returns

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

◆ DeleteDiscipline()

async Task< ActionResult< ResponseObject > > BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController.DeleteDiscipline ( Guid  id)
inline

ลบรายการช่องทางการร้องเรียนระบบวินัย

Returns

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

◆ GetByDiscipline()

async Task< ActionResult< ResponseObject > > BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController.GetByDiscipline ( Guid  id)
inline

get รายการช่องทางการร้องเรียนระบบวินัย

Returns

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

◆ GetDiscipline()

async Task< ActionResult< ResponseObject > > BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController.GetDiscipline ( int  page = 1,
int  pageSize = 25,
string  keyword = "" 
)
inline

list รายการช่องทางการร้องเรียนระบบวินัย

Returns

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

◆ UpdateDiscipline()

async Task< ActionResult< ResponseObject > > BMA.EHR.DisciplineComplaint_Channel.Service.Controllers.DisciplineComplaint_ChannelController.UpdateDiscipline ( Guid  id,
[FromBody] DisciplineComplaint_ChannelRequest  req 
)
inline

แก้ไขรายการช่องทางการร้องเรียนระบบวินัย

Returns

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


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