예제 #1
0
        public int AddPurchaseOrder(Order order)
        {
            if (order != null && IsValid(order))
            {
                return(_repositoryService.AddPurchaseOrder(order));
            }

            throw new ArgumentException("Order is invalid.");
        }