예제 #1
0
        public Task Handle(string message)
        {
            _logger.LogInformation(message);
            var myType = JsonConvert.DeserializeObject <TypeConsumer>(message);

            database.AddMessage(myType);
            return(Task.CompletedTask);
        }