using System; using System.Threading.Tasks; using Billing.Contracts; using NServiceBus; using Sales.Contracts; using Shipping.Contracts; namespace Shipping { public class CreateShippingLabelHandler :IHandleMessages<OrderPlaced> { private readonly ShippingDbContext _dbContext; public CreateShippingLabelHandler(ShippingDbContext dbContext) { _dbContext = dbContext; } public Task Handle(OrderPlaced message, IMessageHandlerContext context) { // Do some work here return Task.CompletedTask; } } }