public async Task <int> GetTokenActorIdAsync(string token) { var actorId = await _tokenRepository.ActorIdFromToken(token); if (actorId == null) { return(0); } return(int.Parse(actorId)); }
public async Task <int> GetTokenActorIdAsync(string token) { var actorId = await _tokenRepository.ActorIdFromToken(token); if (actorId == null) { return(0); } return(int.Parse(actorId)); }