public Task Handle(string message) { _logger.LogInformation(message); var myType = JsonConvert.DeserializeObject <TypeConsumer>(message); database.AddMessage(myType); return(Task.CompletedTask); }