public async Task Consume(ConsumeContext <ListingAcceptedMessage> context) { var message = context.Message.ListingId; await offerService.Accept(message); }
public async Task <ActionResult <bool> > Accept(string id) => await offerService.Accept(id);
public async Task Consume(ConsumeContext <ListingAcceptedMessage> context) { var message = context.Message.ListingId; await offerService.Accept(message); }
public async Task <ActionResult <bool> > Accept(string id) => await offerService.Accept(id);