public async Task <TResponse> DispatchAsync <TCommand, TResponse>(TCommand command) where TCommand : ICommand <TResponse> { var handler = factory.Resolved <TCommand, TResponse>(); return(await handler.HandleAsync(command)); }
public async Task <TResponse> DispatchAsync <TCommand, TResponse>(TCommand command) where TCommand : ICommand <TResponse> { var handler = factory.Resolved <TCommand, TResponse>(); return(await handler.HandleAsync(command)); }