Beispiel #1
0
        // 刪除點餐紀錄
        public ActionResult Cancel(string OrderNo)
        {
            RepositoryAccounting repo = new RepositoryAccounting();
            OrderMD data = repo.GetOrderMD(OrderNo);

            return(data == null?PartialView("_Error") : PartialView("_Cancel", data));
        }
Beispiel #2
0
        public ActionResult Check(OrderMD Data)
        {
            RepositoryAccounting repo = new RepositoryAccounting();
            OrderMD data = repo.GetOrderMD(Data);

            ModelState.Clear();

            return(data == null?PartialView("_Error") : PartialView("_Check", data));
        }