public static async Task SendAsync <TCommand>(this ConsumeContext context, TCommand command) where TCommand : class, new() { var sendPoint = await context.GetSendEndpointAsync <TCommand>(); await sendPoint.Send(command); }