예제 #1
0
        public ActionResult Index()
        {
            var inboxModel = new InboxConfigModel();

            inboxModel.InboxEmail = @System.IO.Path.GetRandomFileName() + "@i.af";
            return(View(inboxModel));
        }
예제 #2
0
        public ActionResult Index(InboxConfigModel model)
        {
            if (ModelState.IsValid)
            {
                return RedirectToRoute("Inbox", new { id = model.InboxId, email = model.InboxEmail });
            }

            return View(model);
        }
예제 #3
0
        public ActionResult Index(InboxConfigModel model)
        {
            if (ModelState.IsValid)
            {
                return(RedirectToRoute("Inbox", new { id = model.InboxId, email = model.InboxEmail }));
            }

            return(View(model));
        }
예제 #4
0
 public ActionResult Index()
 {
     var inboxModel = new InboxConfigModel();
     inboxModel.InboxEmail = @System.IO.Path.GetRandomFileName() + "@i.af";
     return View(inboxModel);
 }