示例#1
0
 public ActionResult Edit(int id, Metric m)
 {
     try
     {
         return RedirectToAction("Index");
     }
     catch
     {
         return View();
     }
 }
示例#2
0
 public ActionResult Create(Metric m)
 {
     try
     {
         return RedirectToAction("Index");
     }
     catch
     {
         return View();
     }
 }