예제 #1
0
 public ActionResult Create(Beer Beer)
 {
     BeerRepository.Create(Beer);
     return RedirectToAction("Index");
 }
예제 #2
0
 public ActionResult Delete(string id, Beer Beer)
 {
     BeerRepository.Delete(id);
     return RedirectToAction("Index");
 }
예제 #3
0
 public ActionResult Edit(string id, Beer Beer)
 {
     BeerRepository.Update(Beer);
     return RedirectToAction("Index");
 }