public ActionResult Create(user u) { if (ModelState.IsValid) { u.id = 1; u.fund = 0; u.state = true; userr.AddService(u); return(RedirectToAction("Authentication")); } else { return(View()); } }
public ActionResult Create(user u) { if (ModelState.IsValid) { u.id = 1; u.fund = 0; u.state = true; userr.AddService(u); return(RedirectToAction("Authentication")); } else { return(View()); } }