Example #1
0
        public ActionResult GetVCSDetailsById(long VSCId)
        {
            eTracLoginModel ObjLoginModel = null;

            if (Session != null)
            {
                if (Session["eTrac"] != null)
                {
                    ObjLoginModel = (eTracLoginModel)(Session["eTrac"]);
                }
            }
            try
            {
                var getVSCList = _IePeopleManager.GetVSCDetailsById(VSCId);
                getVSCList.Id = VSCId;
                return(PartialView("~/Views/NewAdmin/ePeople/_ViewVSCDetails.cshtml", getVSCList));
                //return Json(getVSCList, JsonRequestBehavior.AllowGet);
            }
            catch (Exception ex)
            {
                return(PartialView("~/Views/NewAdmin/ePeople/_ViewVSCDetails.cshtml", new AddChartModel()));
                // return Json(null, JsonRequestBehavior.AllowGet);
            }
        }