コード例 #1
0
 public async Task TriggerDataFetch(string userId, PlatformConnection platformConnection,
                                    PlatformIntegrationType platformIntegrationType, IBus bus)
 {
     platformConnection.MarkAsDataFetchStarted();
     var fetchDataMessage = new FetchDataForPlatformConnectionMessage(userId,
                                                                      platformConnection.PlatformId, platformIntegrationType);
     await bus.Send(fetchDataMessage);
 }