public async Task <IActionResult> Get() { try { var result = await _repositoryProduct.GetAllAsync(); return(Ok(result)); } catch (Exception ex) { return(BadRequest($"Erro: {ex.Message}")); } }