public ActionResult Send(SendWidgetModel sendWidgetModel)
 {
     var json = new JavaScriptSerializer().Serialize(sendWidgetModel);
     Session["widget"] = json;
     return RedirectToAction("Sent");
 }
 public ActionResult MvcJson(SendWidgetModel sendWidgetModel)
 {
     return Json(string.Format("Sent {0} to {1}", sendWidgetModel.widgetMessage, sendWidgetModel.toEmail), JsonRequestBehavior.DenyGet);
 }