Example #1
0
        //
        // POST: /Account/SendLogInLink
        public IActionResult SendLogInLink(SendLogInLinkModel model)
        {
            if (ModelState.IsValid)
            {
                model.Send(Url);
                this.SetResultMessage($"A log in link will be sent to {model.Email}.");
            }

            return(RedirectToAction("Index", "Home"));
        }