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")); }
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")); }