public async Task <IActionResult> getInventario() { try { var response = await invenotryServices.getIntentario(); return(Ok(response)); } catch (Exception ex) { _logger.LogWarning(LogEvents.ExeptionError, ex, "Error Exception"); return(BadRequest(ex.ToString())); } }