public ActionResult Edit(ShopFruistConnection.LOAISANPHAM lsp) { Models.LoaiSanPhamBus.LoaiSanPhamBus.UpdateProductType(lsp); return(RedirectToAction("Index")); }
public ActionResult Create(ShopFruistConnection.LOAISANPHAM lsp) { Models.LoaiSanPhamBus.LoaiSanPhamBus.insert(lsp); return(RedirectToAction("Create")); }