public string GetFabricantePrice(FabricantePriceResponse response)
        {
            lock (_sync)
            {
                var order = orderList.FirstOrDefault(item => item.encomendaid == response.encomendaID);

                if (order == null)
                {
                    order = new OrderInfo(response.userID, response.encomendaID);
                    order.addpriceFabric(response.fabricante, response.Price);
                }
                else
                {
                    order.addpriceFabric(response.fabricante, response.Price);
                }
            }
            return "ack";
        }
 public string GetFabricantePrice(FabricantePriceResponse response)
 {
     lock (_sync)
     {
         OrderInfo order = null;
         foreach (var item in orderList)
         {
             if (item.encomendaid == response.encomendaID)
             {
                 order = item;
                 break;
             }
         }
         if (order == null)
         {
             order = new OrderInfo(response.userID, response.encomendaID);
             order.addpriceFabric(response.fabricante, response.Price);
         }
         else
         {
             order.addpriceFabric(response.fabricante, response.Price);
         }
     }
     return "ack";
 }