Task <ActionResult <ICollection <Deadlock> > > IVerificationController.ValidateAsync(int queuedAgents, RequestPayload payload)
        {
            var t = new Task <ActionResult <ICollection <Deadlock> > >(() => new ObjectResult(new List <Deadlock>()
            {
                new Deadlock {
                    Id = "asdf", BlockedElement = null, Path = null
                }
            }));

            t.Start();
            return(t);
        }
Exemplo n.º 2
0
 public System.Threading.Tasks.Task <Microsoft.AspNetCore.Mvc.ActionResult <System.Collections.Generic.ICollection <Deadlock> > > Validate(int queuedAgents, [Microsoft.AspNetCore.Mvc.FromBody] RequestPayload payload)
 {
     return(_implementation.ValidateAsync(queuedAgents, payload));
 }