예제 #1
0
 public ActionResult AddAddress(AddressRegisterModel model)
 {
     if (ModelState.IsValid)
     {
         if (addressServices.AddAddress(model) != Guid.Empty)
         {
             return(Redirect("Address"));
         }
         return(HttpNotFound());
     }
     else
     {
         return(View(model));
     }
 }