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