示例#1
0
 public Task <Message> PostMessage(string conversationId, SendMessageDto messageDto)
 {
     return(postMessageControllerTimeMetric.TrackTime(() => service.PostMessage(conversationId, messageDto)));
 }
示例#2
0
 public Task <ListMessagesDto> ListMessages(string conversationId, string startCt, string endCt, int limit)
 {
     return(listMessagesControllerTimeMetric.TrackTime(() => service.ListMessages(conversationId, startCt, endCt, limit)));
 }
示例#3
0
 public Task SendNotificationAsync(NotificationPayload payload)
 {
     return(sendNotificationMetric.TrackTime(() => notificationService.SendNotificationAsync(payload)));
 }