예제 #1
0
        public ActionResult AddPOS(POSViewModel model)
        {
            if (!ModelState.IsValid)
                return View(model);

            model.AddPOS();
            return RedirectToAction("POS");
        }
예제 #2
0
 public ActionResult POSDetails(int id)
 {
     POSViewModel model = new POSViewModel();
     model.Get(id);
     return View(model);
 }
예제 #3
0
 public ActionResult AddPOS()
 {
     POSViewModel model = new POSViewModel();
     return View(model);
 }
예제 #4
0
 public ActionResult POS()
 {
     POSViewModel model = new POSViewModel();
     model.GetList();
     return View(model);
 }