コード例 #1
0
        public static bool UpdateRawMaterialsOrderDetailsBL(Entities.RawMaterialsOrderDetails updateorder)
        {
            bool orderUpdated = false;

            try
            {
                if (ValidateRawMaterialsOrderDetails(updateorder))
                {
                    RawMaterialsOrderDetailsDAL RawMaterialsorderDAL = new RawMaterialsOrderDetailsDAL();
                    orderUpdated = RawMaterialsorderDAL.UpdateRawMaterialsOrderDetailsDAL(updateorder);
                }
            }
            catch (Exception ex)
            {
                throw new InventoryException(ex.Message);
            }
            return(orderUpdated);
        }