Exemplo n.º 1
0
 public ActionResult AddCommon(CommonRegisterModel model)
 {
     if (ModelState.IsValid)
     {
         if (commonServices.AddCommon(model) != Guid.Empty)
         {
             return(Redirect("Common"));
         }
         return(HttpNotFound());
     }
     else
     {
         return(View(model));
     }
 }