Пример #1
0
        public ActionResult VotantsLogin(string key)
        {
            DBVotationList votationList = new DBVotationList();
            int            id           = votationList.getIdURL(key, DBConnect.open());

            if (id > 0)
            {
                ViewBag.Message = "1";
            }
            else
            {
                ViewBag.Message = "0";
            }
            return(View());
        }