Beispiel #1
0
 public async Task <ActionResult> GetCustomers()
 {
     return((await _bus.Send(new GetAllCustomersQuery())).ActionResult);
 }
Beispiel #2
0
 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);
 }
Beispiel #5
0
 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);
 }