Пример #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);
 }
Пример #4
0
 public void printAllOrder(Order order)
 {
     throw new NotImplementedException();
 }
Пример #5
0
        //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);
        }
Пример #6
0
 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;
 }