public async Task <IActionResult> GetById(int productId)
        {
            try
            {
                var result = await _repositoryProduct.GetByIdAsync(productId);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                return(BadRequest($"Erro: {ex.Message}"));
            }
        }