fix : เครื่องราชย์ + บันทึกเครื่องราชย์

This commit is contained in:
Suphonchai Phoonsawat 2024-06-28 12:27:55 +07:00
parent def2b8f7fe
commit 26ccf67dad
5 changed files with 92 additions and 5 deletions

View file

@ -1,4 +1,5 @@
using BMA.EHR.Application.Common.Interfaces;
using BMA.EHR.Application.Responses.Insignias;
using BMA.EHR.Application.Responses.Organizations;
using BMA.EHR.Application.Responses.Profiles;
using BMA.EHR.Domain.Models.HR;
@ -533,6 +534,25 @@ namespace BMA.EHR.Application.Repositories
}
}
public async Task PostProfileInsigniaAsync(PostProfileInsigniaDto body, string? accessToken)
{
try
{
var apiPath = $"{_configuration["API"]}/org/profile/insignia";
var profiles = new List<SearchProfileDto>();
var apiResult = await PostExternalAPIBooleanAsync(apiPath, accessToken ?? "", body);
}
catch
{
throw;
}
}
#endregion
}
}