Update GetTimeStampHistoryAsync call to include pagination and keyword filtering
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m8s

This commit is contained in:
Suphonchai Phoonsawat 2026-03-10 14:10:35 +07:00
parent 4650f7a2ab
commit 4562029e6e

View file

@ -1762,7 +1762,7 @@ namespace BMA.EHR.Leave.Service.Controllers
// var test = await _processUserTimeStampRepository.GetTimeStampHistoryAsync(userId, year);
// return Success(test);
var data = (await _processUserTimeStampRepository.GetTimeStampHistoryAsync(userId, year))
var data = (await _processUserTimeStampRepository.GetTimeStampHistoryAsync(userId, year, page, pageSize, keyword))
.Select(d => new CheckInHistoryDto
{
CheckInId = d.Id,