public void action_request_to <T>(T business_case) where T : IBusinessRequest { _command_handler_registery.find_handler_for(business_case).Invoke(business_case); }
public void send <TCommand>(TCommand command) where TCommand : ICommand { _command_handler_registry.find_handler_for(command).handle(command); }