public ActionResult Edit(SellerPanelViewModel productToEdit) { sp.SaveChanges(productToEdit); return(Redirect("~/Sales/SellerPanel")); }
public ActionResult Edit(SellerPanelViewModel productToEdit) { sp.SaveChanges(productToEdit); return(Redirect("~/Sales/SellerPanel")); }