Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Route("smtp")]
- public ActionResult Smtp()
- {
- var Model = TestSmtpModel.GetPageViewModel();
- return View(ViewNames.Website.Test.Smtp, Model);
- }
- [HttpPost]
- [Route("smtp")]
- public ActionResult Smtp(TestSmtpModel.PageViewModel Model)
- {
- TestSmtpModel.SendEmail(Model);
- return View(ViewNames.Website.Test.Smtp, Model);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement