Пример #1
0
        public static OrderStatusAction Load(Int32 orderStatusId, Int16 orderActionId)
        {
            OrderStatusAction orderStatusAction = new OrderStatusAction();

            if (orderStatusAction.Load(orderStatusId, orderActionId))
            {
                return(orderStatusAction);
            }
            return(null);
        }
Пример #2
0
        public static bool Delete(Int32 orderStatusId, Int16 orderActionId)
        {
            OrderStatusAction orderStatusAction = new OrderStatusAction();

            if (orderStatusAction.Load(orderStatusId, orderActionId))
            {
                return(orderStatusAction.Delete());
            }
            return(false);
        }