public static bool UpdateOrderCount(string _orderNo, string _productNo, int _updatedOrderCount) { int originalOrderCount = OrderInfoBLL.GetOrderCountByOrderNo(_orderNo); return(OrderInfoBLL.OrderInfoUpdate(_orderNo, _productNo, _updatedOrderCount + originalOrderCount) && ProductionLineInfoBLL.UpdateOrderNoForProductionLine(_orderNo, _productNo, _updatedOrderCount + originalOrderCount)); }