public static async Task PublishGameRatingUpdatedAsync( this IServiceBusClient serviceBusClient, GameRatingUpdatedMessage gameRating) { await serviceBusClient.PublishAsync( gameRating, RateServiceBusConstants.GameRatingUpdatedLabel, RateServiceBusConstants.GameTopicName); }
public static async Task PublishGameCreatedAsync( this IServiceBusClient serviceBusClient, GameCreatedMessage account) { await serviceBusClient.PublishAsync( account, GameServiceBusConstants.GameCreatedLabel, GameServiceBusConstants.GameTopicName); }
public static async Task PublishOrderPaidAsync( this IServiceBusClient serviceBusClient, OrderPaidMessage message) { await serviceBusClient.PublishAsync( message, PaymentServiceBusConstants.OrderPaidLabel, PaymentServiceBusConstants.OrderTopicName); }
public static async Task PublishAccountUpdatedAsync( this IServiceBusClient serviceBusClient, AccountUpdatedMessage account) { await serviceBusClient.PublishAsync( account, AccountServiceBusConstants.AccountUpdatedLabel, AccountServiceBusConstants.AccountTopicName); }
public static async Task PublishTemplateCreatedAsync( this IServiceBusClient serviceBusClient, TemplateCreatedMessage template) { await serviceBusClient.PublishAsync(template, TemplateCreatedLabel, TemplateTopicName); }
public static async Task PublishUserCreatedAsync( this IServiceBusClient serviceBusClient, CreateUserDto createUserDto) { await serviceBusClient.PublishAsync( createUserDto, "Created_User", "testtopic"); }