示例#1
0
        public ActionResult ViewDtails(int id)
        {
            BL.Order order = new BL.Order();

            List <MyOrdersModel> ViewOrdersDetails = order.ShowMyOrdersDetails(id);

            return(PartialView(ViewOrdersDetails));
        }
示例#2
0
        public ActionResult Show_Orders()
        {
            BL.Order order = new BL.Order();
            int      id    = (int)Session["User_Id"];

            List <MyOrdersModel> ViewOrders = order.ShowMyOrders(id);

            return(View(ViewOrders));
        }
示例#3
0
 public JsonRequest(string cust, Decimal milkQ, int skinsQ)
 {
     customer = cust;
     order = new Order(milkQ, skinsQ);
 }
 public void printAllOrder(Order order)
 {
     throw new NotImplementedException();
 }
        //prints

        //   public void printAllOrder(Order order) { }
        #endregion
        //    public void printAllBranchesOfBank(BankBranch bank) { }
        // New Itshak2
        #region functions



        public bool checkTransactionSigned(Order order)
        {
            GuestRequest req = getAllGuestRequest().FirstOrDefault(x => x.guestRequestKey == order.guestRequestKey);

            return(req.transactionSigned);
        }
 public void updateOrder(Order order)
 {
 }
示例#7
0
 private void detach_Orders(Order entity)
 {
     this.SendPropertyChanging();
     entity.User = null;
 }
示例#8
0
 private void attach_Orders(Order entity)
 {
     this.SendPropertyChanging();
     entity.User = this;
 }
示例#9
0
 partial void DeleteOrder(Order instance);
示例#10
0
 partial void UpdateOrder(Order instance);
示例#11
0
 partial void InsertOrder(Order instance);
示例#12
0
 private void detach_Orders(Order entity)
 {
     this.SendPropertyChanging();
     entity.PaymentType = null;
 }
示例#13
0
 private void attach_Orders(Order entity)
 {
     this.SendPropertyChanging();
     entity.PaymentType = this;
 }
示例#14
0
 private void attach_Orders(Order entity)
 {
     this.SendPropertyChanging();
     entity.OrderStatuse = this;
 }
示例#15
0
 private void attach_Orders(Order entity)
 {
     this.SendPropertyChanging();
     entity.DeliveryType = this;
 }