예제 #1
0
 public string GetUsername()
 {
     return(_claimsService.GetUsername(HttpContext.User));
 }
예제 #2
0
 public string GetUsername()
 {
     return(_claimsService.GetUsername(_httpContextAccessor.HttpContext.User));
 }