Exemple #1
0
        public ActionResult login(string login, string password)
        {
            if (_authHandler.Autorize(login, password))
            {
                return(RedirectToAction("index", "home"));
            }

            ViewBag.Message = "Помилка! Спробуйте ще";
            return(View());
        }