public ActionResult AddPOS(POSViewModel model) { if (!ModelState.IsValid) return View(model); model.AddPOS(); return RedirectToAction("POS"); }
public ActionResult POSDetails(int id) { POSViewModel model = new POSViewModel(); model.Get(id); return View(model); }
public ActionResult AddPOS() { POSViewModel model = new POSViewModel(); return View(model); }
public ActionResult POS() { POSViewModel model = new POSViewModel(); model.GetList(); return View(model); }