public RegistroController(ILogger <RegistroController> logger, BrainInBaseContext brainInBaseContext)
 {
     _logger             = logger ?? throw new ArgumentNullException(nameof(logger));
     _brainInBaseContext = brainInBaseContext ?? throw new ArgumentNullException(nameof(brainInBaseContext));
 }