常用方法
常用方法
常用方法
常用方法
public async Task Handle(UserRegisterEvent @event) { var info = new Info { Tweets = 0, Following = 0, Followers = 0, Likes = 0, UserId = @event.UserId }; await _infoService.Create(info); _logger.LogInformation($"Welcome {@event.UserId}!"); }