public async Task CommandAsync <TCommand>(TCommand command, string senderId) where TCommand : class, ICommand { ValidateMessage(command); await _commandBus.CommandAsync(command, senderId); }