示例#1
0
        public async Task Push(T message)
        {
            var queueItem = new QueueItem <T>
            {
                Id      = Guid.NewGuid(),
                Message = message
            };

            await _queueRepository.Push(Queue, queueItem);
        }