udpate
This commit is contained in:
@@ -14,4 +14,7 @@ public class CurrentUserService : ICurrentUserService
|
||||
}
|
||||
|
||||
public string? UserId => _httpContextAccessor.HttpContext?.User?.FindFirstValue(ClaimTypes.NameIdentifier);
|
||||
public string? FirstName => _httpContextAccessor.HttpContext?.User?.FindFirstValue("FirstName");
|
||||
public string? LastName => _httpContextAccessor.HttpContext?.User?.FindFirstValue("LastName");
|
||||
public string? MobileNumber => _httpContextAccessor.HttpContext?.User?.FindFirstValue("MobileNumber");
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using FrontOffice.BFF.Application.UserCQ.Commands.AcceptContract;
|
||||
using FrontOffice.BFF.Application.UserCQ.Commands.CreateContractOtpToken;
|
||||
using FrontOffice.BFF.WebApi.Common.Services;
|
||||
using FrontOffice.BFF.Application.UserCQ.Commands.UpdateUser;
|
||||
using FrontOffice.BFF.Application.UserCQ.Commands.DeleteUser;
|
||||
|
||||
Reference in New Issue
Block a user