ปรับ api เข้ากับ โครงสร้างใหม่
This commit is contained in:
parent
8851ac6db0
commit
811fa781b4
20 changed files with 1397 additions and 73 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using BMA.EHR.Core;
|
||||
// using BMA.EHR.Core;
|
||||
using BMA.EHR.Recurit.Exam.Service.Response;
|
||||
using BMA.EHR.Recurit.Exam.Service.Services;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
|
@ -39,7 +39,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
protected virtual ActionResult<ResponseObject> Success(object? result = null)
|
||||
{
|
||||
return Success(GlobalMessages.Success, result);
|
||||
return Success("สำเร็จ", result);
|
||||
}
|
||||
|
||||
protected virtual ActionResult<ResponseObject> Error(string message, string result, int statusCode = StatusCodes.Status500InternalServerError)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue