public async Task HandleAsync(DiscardSeatCommand command) { _domainActorSystem.Execute( new DiscardSeat( orderId: command.OrderId, customerId: command.ClientId, eventId: command.EventId, reservationId: command.ReservationId, sceneSeatId: command.SceneSeatId)); }
public async Task HandleAsync(ReserveTicketCommand command) { _domainActorSystem.Execute(new ReserveTicket(command.ClientId, command.OrderId, command.EventId, command.TicketId, command.SceneSeatId, command.PriceOptionId, command.PriceZoneName, command.PriceOptionName, command.GrossAmount)); }
public async Task HandleAsync(SelectPaymentCommand command) { _domainActorSystem.Execute(new SetPayment(command.ClientId, command.OrderId, command.PaymentTypeId)); }
public async Task HandleAsync(SelectDeliveryCommand command) { _domainActorSystem.Execute(new SetDelivery(command.ClientId, command.OrderId, command.DeliveryTypeId)); }
public async Task HandleAsync(CompleteOrderCommand command) { _domainActorSystem.Execute(new CompleteOrder(command.OrderId)); }
public async Task HandleAsync(CreateNewOrderCommand command) { _domainActorSystem.Execute(new CreateNewOrder(command.OrderId, command.ClientId)); }
public async Task HandleAsync(RemoveTicketCommand command) { _domainActorSystem.Execute(new RemoveTicket(command.ClientId, command.OrderId, command.EventId, command.TicketId)); }
public async Task HandleAsync(ReserveSeatCommand command) { _domainActorSystem.Execute(new ReserveSeat(command.ClientId, command.OrderId, command.EventId, command.ReservationId, command.SceneSeatId)); }
public async Task HandleAsync(DiscardOrderCommand command) { _domainActorSystem.Execute(new DiscardOrder(command.OrderId)); }