Пример #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);
 }