Esempio n. 1
0
 public ActionResult Create(ShoppingListEntry newShoppingListEntry)
 {
     try
     {
         ShoppingList.AddEntryToList(newShoppingListEntry);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }