แก้ list รายการเกษียณ
This commit is contained in:
parent
ae67d4381d
commit
b98b02ac98
5 changed files with 9 additions and 18 deletions
|
|
@ -46,8 +46,6 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
|
||||
private string? FullName => _httpContextAccessor?.HttpContext?.User?.FindFirst("name")?.Value;
|
||||
|
||||
private bool? RetirementAdmin => _httpContextAccessor?.HttpContext?.User?.IsInRole("placement1");
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -86,8 +84,6 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
p.IsActive,
|
||||
})
|
||||
.ToListAsync();
|
||||
if (RetirementAdmin == true)
|
||||
retirementExpulsions.Where(x => x.Status.Trim().ToUpper().Contains("APPROVE"));
|
||||
|
||||
return Success(retirementExpulsions);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue