public IActionResult DeferMessage(DeferMessageCommand cmd)
        {
            _repo.Enqueue(Guid.NewGuid(), cmd);

            return(new OkResult());
        }
Exemplo n.º 2
0
 public void Enqueue(Guid id, DeferMessageCommand cmd)
 {
     Repository.Add(id, cmd);
 }