Esempio n. 1
0
 public async Task <ActionResult <int> > Create(CreatePassCommand command)
 {
     return(await Mediator.Send(command));
 }
Esempio n. 2
0
        public async Task CreatePass(string nodeId, Guid boutId, int period, int jam, string team)
        {
            var command = new CreatePassCommand(boutId, Context.ConnectionId, period, jam, team);

            await Dispatch(nodeId, NodeRoles.ScoreKeeper, command);
        }