public async Task <IActionResult> createFacturaDetalle([FromForm] string values)
        {
            try
            {
                FacturaDetalle prmP = new FacturaDetalle();
                JsonConvert.PopulateObject(values, prmP);
                var response = await salesServices.createFacturaDetalle(prmP);

                return(Ok(response));
            }
            catch (Exception ex)
            {
                _logger.LogWarning(LogEvents.ExeptionError, ex, "Error Exception");
                return(BadRequest(ex.ToString()));
            }
        }