แก้ไข

- format response
- ส่ง noti โดยมีการแนบลิงค์
This commit is contained in:
Suphonchai Phoonsawat 2025-04-24 10:59:31 +07:00
parent 19c30e69df
commit 92847e6be2
6 changed files with 211 additions and 21 deletions

View file

@ -57,6 +57,7 @@ namespace BMA.EHR.Application.Repositories.Leaves.LeaveRequests
public async Task<List<LeaveBeginning>> GetAllByYearAsync(int year)
{
return await _dbContext.Set<LeaveBeginning>()
.Include(x => x.LeaveType)
.Where(x => x.LeaveYear == year)
.ToListAsync();
}