public async Task <ActionResult <PedidoViewModel> > PostPedido(PedidoInputModel pedidoInputModel)
        {
            var response = service.Guardar(pedidoInputModel.MapearPedido());

            if (!response.Error)
            {
                productoService.ActualizarCantidadProductos(pedidoInputModel.MapearPedido());
                await _hubContext.Clients.All.SendAsync("RegistrarPedido", response.Objeto);
            }
            return(StatusCode(response.CodigoHttp, response));
        }