fix : ต่อ API ระยยลา
This commit is contained in:
parent
66d491a2af
commit
be1c390bb8
10 changed files with 142 additions and 54 deletions
|
|
@ -37,6 +37,8 @@ namespace BMA.EHR.Application.Repositories.Leaves
|
|||
|
||||
protected bool? IsPlacementAdmin => _httpContextAccessor?.HttpContext?.User?.IsInRole("placement1");
|
||||
|
||||
protected string? AccessToken => _httpContextAccessor?.HttpContext?.Request.Headers["Authorization"];
|
||||
|
||||
#endregion
|
||||
|
||||
#region " Methods "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue