ค้นหาทั้งหมดจักสรรเครื่องราช
This commit is contained in:
parent
2dca07d9dd
commit
069ee389e0
1 changed files with 1 additions and 1 deletions
|
|
@ -569,7 +569,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
||||||
public async Task<ActionResult<ResponseObject>> GetBorrowReturnInsignia(Guid insigniaManageProfileId)
|
public async Task<ActionResult<ResponseObject>> GetBorrowReturnInsignia(Guid insigniaManageProfileId)
|
||||||
{
|
{
|
||||||
var data = await _context.InsigniaManageProfiles.AsQueryable()
|
var data = await _context.InsigniaManageProfiles.AsQueryable()
|
||||||
.Where(x => x.Id == insigniaManageProfileId)
|
.Where(x => insigniaManageProfileId == Guid.Parse("00000000-0000-0000-0000-000000000000") ? x.Id != null : x.Id == insigniaManageProfileId)
|
||||||
.Select(p => new
|
.Select(p => new
|
||||||
{
|
{
|
||||||
Id = p.Id,
|
Id = p.Id,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue