Refactor GenericRepository and GenericLeaveRepository to expose PostExternalAPIAsync method and enhance LeaveProcessJobStatusRepository with API integration for processing employee records

This commit is contained in:
Suphonchai Phoonsawat 2026-03-31 10:18:06 +07:00
parent 2cd7798dd9
commit 82c31a0f57
3 changed files with 71 additions and 20 deletions

View file

@ -115,7 +115,7 @@ namespace BMA.EHR.Application.Repositories
}
protected async Task<string> PostExternalAPIAsync(string apiPath, string accessToken, object? body, string apiKey, CancellationToken cancellationToken = default)
public async Task<string> PostExternalAPIAsync(string apiPath, string accessToken, object? body, string apiKey, CancellationToken cancellationToken = default)
{
try
{