示例#1
0
 public ActionResult Create(ServiceProviderModel serviceProvider)
 {
     try
     {
         ServiceProviderRepository.Create(serviceProvider);
         return(RedirectToAction(nameof(Index)));
     }
     catch
     {
         return(View());
     }
 }