Esempio n. 1
0
        public CommanUserData GetCommanData(string UserId)
        {
            CommanUserData commanUserData = new CommanUserData();

            commanUserData = _userData.GetCommanData(UserId);
            return(commanUserData);
        }
Esempio n. 2
0
        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"));
        }
Esempio n. 3
0
        // 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));
        }
Esempio n. 4
0
        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));
        }