test dumb

This commit is contained in:
Kittapath 2024-06-19 14:50:38 +07:00
parent 8e967a1fa8
commit 27fd503d9e
8 changed files with 342 additions and 77 deletions

View file

@ -322,7 +322,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
await _context.SaveChangesAsync();
var _baseAPI = _configuration["API"];
var _apiUrl = $"{_baseAPI}/org/profile/leave/{req.ProfileId}";
var _apiUrl = $"{_baseAPI}org/profile/leave/{req.ProfileId}";
using (var client = new HttpClient())
{
@ -332,7 +332,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
{
isLeave = true,
leaveReason = "ถึงแก่กรรม",
leaveDate = req.Date,
dateLeave = req.Date,
});
var _result = await _res.Content.ReadAsStringAsync();
}