public async Task <IActionResult> GetByCepOrBairro(string search) { try { var getByCepOrBairroEndereco = await _service.GetBySearch(search); return(Ok(getByCepOrBairroEndereco)); } catch (ArgumentException e) { return(this.StatusCode(StatusCodes.Status500InternalServerError, $"{e.Message}")); } }