public ActionResult PartsList(string orderId)
        {
            var order = _service.GetOrderWithItems(orderId);

            order.Messages = _service.GetOrderMessages(orderId);

            return(View(order));
        }
        public ActionResult AddOrder(string orderId)
        {
            var service = new BricklinkService();

            try
            {
                service.GetOrderWithItems(orderId);

                return(Json(new { success = true, error = "" }, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                return(Json(new { success = false, error = ex.Message }, JsonRequestBehavior.AllowGet));
            }
        }