Пример #1
0
 public static void addSelectedItemsToCart(string[] itemNum, int[] qty, string empNum)
 {
     for (int i = 0; i < itemNum.Count(); i++)
     {
         CartDAO.addToCart(itemNum[i], qty[i], empNum);
     }
 }
Пример #2
0
 public static int getCartSize(string empNum)
 {
     return(CartDAO.getCartSize(empNum));
 }
Пример #3
0
 public static List <RequestStationaryCart> viewCartW(string empNumber)
 {
     return(CartDAO.viewCartWCF(empNumber));
 }
Пример #4
0
 public static void addItemToCart(string itemNum, int qty, string empNum)  ///for WCF
 {
     CartDAO.addToCart(itemNum, qty, empNum);
 }
Пример #5
0
 public static List <RequestStationaryCart> getEmployeeCart(string empNumber)
 {
     return(CartDAO.getEmployeeCart(empNumber));
 }
Пример #6
0
 public static List <Object> viewCart(string empNumber)
 {
     return(CartDAO.viewCart(empNumber));
 }
Пример #7
0
 public static void submitCart(string empNum)
 {
     RequisitionDAO.createRequisitionDetails(empNum);
     CartDAO.deleteEmployeeCart(empNum);
 }
Пример #8
0
 public static void deleteSelectedFromCart(String iteNum, String empNum)
 {
     CartDAO.deleteItemFromCart(iteNum, empNum);
 }