Example #1
0
 public ActionResult NewManufacturer(Manufacturer newManufacturer)
 {
     repo.CreateOrUpdate(newManufacturer);
     repo.SaveChanges();
     return(RedirectToAction("Index"));
 }