This commit is contained in:
Suphonchai Phoonsawat 2025-05-29 16:30:08 +07:00
parent cf6f0feef5
commit ad72bc7ff6
2 changed files with 3 additions and 3 deletions

View file

@ -336,7 +336,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
//}
if (role.Trim().ToUpper() == "OFFICER")
{
resend.Items = (await _repository.InsigniaHasProfile(result.PeriodId, ocId, status))
resend.Items = (await _repository.InsigniaHasProfile(result.PeriodId, ocId, status, type))
.Where(x => x.ProfileType!.ToLower() == type.ToLower()).ToList();
return Success(resend);
}