public async Task <ActionResult> GetCustomers() { return((await _bus.Send(new GetAllCustomersQuery())).ActionResult); }
public async Task <ActionResult> GetReport(bool asPdf) { return((await _busService.Send(new GetEventReportRequest(asPdf))).ActionResult); }
public async Task <ActionResult> GetCustomerRewards(Guid id) { return((await _bus.Send(new GetCustomerRewardsQuery(id))).ActionResult); }
public async Task <ActionResult> Get() { return((await _bus.Send(new GetMembershipsReportQuery())).ActionResult); }
public async Task <ActionResult> GetMemberships() { return((await _bus.Send(new GetAllAggregateMembershipQuery())).ActionResult); }
public async Task <ActionResult> StartSaga(StartSagaSampleCommand request) { return((await _bus.Send(request)).ActionResult); }
public async Task <ActionResult> GetApplicationEvents() { return((await _busService.Send(new GetAllApplicationEventRequest())).ActionResult); }