public bool CheckCurrentOrder() { var temp = CurrentOrder.IsEmpty(); if (temp) { AllOrders.Remove(CurrentOrder); CurrentOrder = new Order(CurrentUser); AllOrders.Add(CurrentOrder); } return(temp); }
public bool CheckCurrentOrder() { var temp = CurrentOrder.IsEmpty(); if (temp) { AllOrders.Remove(CurrentOrder); CurrentOrder = new Order(CurrentUser); AllOrders.Add(CurrentOrder); } return(temp); }