public async Task <IActionResult> Realizar([FromBody] CompraRequest compraRequest)
        {
            var result = await _compraService.Efetivar(compraRequest);

            return(new ObjectResult(result)
            {
                StatusCode = StatusCodes.Status200OK
            });
        }