public Task <object> Handle(MessageStatusQuery request, CancellationToken cancellationToken)
 {
     return(_repository.GetMessageStatus(request.ReferenceNumber, request.From));
 }
Пример #2
0
        public async Task <object> Handle(QueryMessageStatus request, CancellationToken cancellationToken)
        {
            var asss = await _repository.GetMessageStatus(request.ReferenceNumber);

            return(asss.obj);
        }