Exemple #1
0
 public ActionResult AddItem(Item postedData)
 {
     try
     {
         var com = new BusinessObject();
         com.AddNewItem(postedData);
         return(RedirectToAction("Home"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }