public IEnumerable Handle(Func <Guid, StepladderMatchAggregate> al, DeleteStepladderMatch command)
        {
            var agg = al(command.Id);

            yield return(new StepladderMatchDeleted
            {
                Id = command.Id,
                TournamentId = command.TournamentId
            });
        }
Ejemplo n.º 2
0
 public JsonResult DeleteStepladderMatch(DeleteStepladderMatch command)
 {
     Domain.Dispatcher.SendCommand(command);
     return(Json(command));
 }