public bool CreatePurchaseOrder(PurchaseOrder po) { return(IsValid(po) && po.Items.Count > 0 ? repo.CreatePurchaseOrder(po) : false); }