Beispiel #1
0
 public ActionResult Create(Person person)
 {
     _logger.Trace("/Person/Create (post) called");
     try
     {
         _personHandler.Create(ref person);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }