Ejemplo n.º 1
0
        public ActionResult DoRegister(string unm, string pass, string repass)
        {
            BlogClient service = new BlogClient();

            if (pass != repass)
            {
                return(RedirectToAction("Register"));
            }
            bool a = service.AddUser(unm, pass);

            return(RedirectToAction("Index"));
        }