internal int GetId() { var id = ClaimManager.GetUserId(_context.HttpContext.User); if (string.IsNullOrWhiteSpace(id)) { return(0); } return(int.Parse(id)); }
internal string GetFullName() { return(ClaimManager.GetUserFullName(_context.HttpContext.User)); }
internal string GetToken() { return(ClaimManager.GetUserToken(_context.HttpContext.User)); }