public async Task <IActionResult> createInventario([FromForm] string values)
        {
            try
            {
                Inventario prmP = new Inventario();
                JsonConvert.PopulateObject(values, prmP);
                var response = await invenotryServices.createIntentario(prmP);

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