Esempio n. 1
0
 public ActionResult Send(SMSMessage smsMessage)
 {
     if (ModelState.IsValid)
     {
         // move to confirm screen
         return RedirectToAction("Confirm", smsMessage);
         
     }
     else
     {   // invalid data
         return View();
     }
 }
Esempio n. 2
0
 // display a confirmation 
 public ActionResult Confirm(SMSMessage smsMessage)
 {
     return View(smsMessage);
 }