public ActionResult StoreEdit([Bind(Include = "StoreManagerID,StoreAddress,StoreCity,StoreState,StoreZipCode,SalesTaxRate")] StoreManager storeManager) { if (ModelState.IsValid) { var storeManagerLogic = new StoreManagerLogic(); storeManagerLogic.editStoreManagerDBRecord(storeManager); RedirectToAction("StoreIndex", "StoreManager"); } return View(); }
public ActionResult StoreIndex() { var store = new StoreManagerLogic(); return View(store.toList()); }
public ActionResult StoreEdit(int id) { var storeDetails = new StoreManagerLogic(); return View(storeDetails.getStoreDetails(id)); }