public bool tooLittleHoly(orderHechser x, dishHechser y) { if ((int)x > (int)y) //dish is less holy then order { return(true); //meaning dish isnt holy enough } else { return(false);//meaning dish is good } }
public Order(int orderID, DateTime orderTime, int orderBranch, orderHechser orderHechserOrder, int orderStaff, string orderCustomer, string orderCustAddress, string orderCustLocation, int orderCustCC, int orderAge) { this.orderID = orderID; this.orderTime = orderTime; this.orderBranch = orderBranch; this.orderHechserOrder = orderHechserOrder; this.orderStaff = orderStaff; this.orderCustAddress = orderCustAddress; this.orderCustLocation = orderCustLocation; this.orderCustCC = orderCustCC; this.orderAge = orderAge; }