public async Task <ActionResult <int> > Create(CreatePassCommand command)
 {
     return(await Mediator.Send(command));
 }
Exemple #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);
        }