public CommanUserData GetCommanData(string UserId) { CommanUserData commanUserData = new CommanUserData(); commanUserData = _userData.GetCommanData(UserId); return(commanUserData); }
public ActionResult _RegistrationSetting() { CommanUserData commanUserData = new CommanUserData(); commanUserData = _userData.GetCommanData(Session["UserID"].ToString()); ViewBag.FHnumber = commanUserData.HarmonizerValue; ViewBag.Activedate = string.Format("{0:MM/dd/yyyy}", commanUserData.ActiveDate); return(PartialView("_RegistrationSetting")); }
// GET: Scheme public ActionResult CreateScheme() { CommanUserData commanUserData = new CommanUserData(); string BPID = Session["BPID"].ToString(); long schemenum = _scheme.GetSchemeValue(BPID, "getschemevalue"); ViewBag.scheme = schemenum; commanUserData = _userData.GetCommanData(Session["UserID"].ToString()); return(View(commanUserData)); }
public ActionResult CommanUserData() { CommanUserData obj = new CommanUserData(); try { obj = _userData.GetCommanData(Convert.ToString(Session["UserID"])); } catch (Exception ex) { DataLogger.Write("Account-CommanUserData", ex.Message); } return(Json(obj, JsonRequestBehavior.AllowGet)); }