public ActionResult DeleteConfirmed(int id) { AdditionalSkuBasic additionalskubasic = db.AdditionalSkuBasics.Find(id); db.AdditionalSkuBasics.Remove(additionalskubasic); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Edit(AdditionalSkuBasic additionalskubasic) { if (ModelState.IsValid) { db.Entry(additionalskubasic).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(additionalskubasic)); }
public ActionResult Create(AdditionalSkuBasic additionalskubasic) { if (ModelState.IsValid) { db.AdditionalSkuBasics.Add(additionalskubasic); db.SaveChanges(); return(RedirectToAction("Index")); } return(View(additionalskubasic)); }
// // GET: /AdditionalSku/Delete/5 public ActionResult Delete(int id) { AdditionalSkuBasic additionalskubasic = db.AdditionalSkuBasics.Find(id); return(View(additionalskubasic)); }
// // GET: /AdditionalSku/Details/5 public ViewResult Details(int id) { AdditionalSkuBasic additionalskubasic = db.AdditionalSkuBasics.Find(id); return(View(additionalskubasic)); }