Exemplo n.º 1
0
 public ActionResult Save(MessageComposeModel Model)
 {
     if (ModelState.IsValid)
     {
         string err;
         //if (!Model.Zone.Save(out err))
         {
             return(View("Edit", Model));
         }
         return(RedirectToAction("Index"));
     }
     return(View("Edit", Model));
 }
Exemplo n.º 2
0
        public ActionResult Compose()
        {
            var model = new MessageComposeModel();

            return(View(model));
        }