public ActionResult ProposalRegistration(ArccView arccView) { AARCViewMethods arccViewMethods = new AARCViewMethods(); arccViewMethods.addScore(arccView); // return View("Login", arccView); return(RedirectToAction("Login")); }
public ActionResult Registration(ArccView arccView) { AARCViewMethods arccViewMethods = new AARCViewMethods(); arccViewMethods.insertSecurityUser(arccView); // arccViewMethods.insertScore(arccView); return(RedirectToAction("Login")); }
public ActionResult ScoreProposal(ArccView arccView) { AARCViewMethods userMethods = new AARCViewMethods(); // userMethods.setProposalName(arccView); // TryUpdateModel(arccView); // userMethods.commit(arccView); userMethods.insertScore(arccView); //return View("Login", arccView); return(RedirectToAction("Login")); }
public ActionResult Login(ArccView arccView) { AARCViewMethods aarcViewMethods = new AARCViewMethods(); bool login = aarcViewMethods.checkLogin(arccView); if (login == true) { // return View("ScoreProposal", arccView); view1 = arccView.user.Email; return(RedirectToAction("ScoreProposal")); // return ScoreProposal(); // return View("ScoreProposal", arccView); } else { return(View("Login", arccView)); } }