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