public ActionResult setSession(string status = "new") { if (Session["_Locked"] != null) { using (AESDataService.DataServiceClient client = new AESDataService.DataServiceClient()) { client.unlockApp((int)Session["_Locked"]); } } Session["_Status"] = status; return(RedirectToAction("Applicant", "Application", -1)); }
public ActionResult setSession(string status = "new") { if (Session["_Locked"] != null) { using (AESDataService.DataServiceClient client = new AESDataService.DataServiceClient()) { client.unlockApp((int)Session["_Locked"]); } } Session["_Status"] = status; return RedirectToAction("Applicant","Application",-1); }