public async Task <IActionResult> GetAll() { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var bancos = await _proveedorRepositorio.ObtenerTodos(); if (bancos == null) { return(NotFound()); } return(Ok(bancos)); }