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

Public Member Functions

 MessageController (InboxRepository inboxRepository, NotificationRepository notificationRepository)
 
async Task< ActionResult< ResponseObject > > GetMyInboxAsync ()
 แสดงข้อมูล Inbox ของ user ที่ Login
 
async Task< ActionResult< ResponseObject > > GetByIdMyInboxAsync (Guid id)
 ดูข้อมูล Inbox ของ user ที่ Login
 
async Task< ActionResult< ResponseObject > > DeleteMyInboxAsync (Guid id)
 ลบข้อมูล Inbox ของ user ที่ Login
 
async Task< ActionResult< ResponseObject > > GetMyNotificationAsync ()
 แสดงข้อมูล Notification ของ user ที่ Login
 
async Task< ActionResult< ResponseObject > > DeleteMyNotificationAsync (Guid id)
 ลบข้อมูล Notification ของ user ที่ Login
 

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

◆ MessageController()

BMA.EHR.Command.Service.Controllers.MessageController.MessageController ( InboxRepository  inboxRepository,
NotificationRepository  notificationRepository 
)
inline

Member Function Documentation

◆ DeleteMyInboxAsync()

async Task< ActionResult< ResponseObject > > BMA.EHR.Command.Service.Controllers.MessageController.DeleteMyInboxAsync ( Guid  id)
inline

ลบข้อมูล Inbox ของ user ที่ Login

Returns

<response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ DeleteMyNotificationAsync()

async Task< ActionResult< ResponseObject > > BMA.EHR.Command.Service.Controllers.MessageController.DeleteMyNotificationAsync ( Guid  id)
inline

ลบข้อมูล Notification ของ user ที่ Login

Returns

<response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetByIdMyInboxAsync()

async Task< ActionResult< ResponseObject > > BMA.EHR.Command.Service.Controllers.MessageController.GetByIdMyInboxAsync ( Guid  id)
inline

ดูข้อมูล Inbox ของ user ที่ Login

Returns

<response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetMyInboxAsync()

async Task< ActionResult< ResponseObject > > BMA.EHR.Command.Service.Controllers.MessageController.GetMyInboxAsync ( )
inline

แสดงข้อมูล Inbox ของ user ที่ Login

Returns

<response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response> <response code="401">ไม่ได้ Login เข้าระบบ</response> <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>

Here is the call graph for this function:

◆ GetMyNotificationAsync()

async Task< ActionResult< ResponseObject > > BMA.EHR.Command.Service.Controllers.MessageController.GetMyNotificationAsync ( )
inline

แสดงข้อมูล Notification ของ user ที่ Login

Returns

<response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</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: