Esempio n. 1
0
        public JsonResult GetAssignedAndUnAssignedEmployeeDetails(string siteId, string stateId, string view)
        {
            SiteMapModel oSiteMapModel = new SiteMapModel()
            {
                Site  = siteId,
                State = stateId,
                View  = view
            };
            SiteMapResult result = oAdminManager.GetEmployeeMappedDetails(oSiteMapModel, CookieManager.GetCookie(CookieManager.CookieName).logindetail.EmpID);

            return(Json(new { result }, JsonRequestBehavior.AllowGet));
        }
Esempio n. 2
0
        public JsonResult GetEmployeeMappedDetails(SiteMapModel siteMapModel)
        {
            SiteMapResult result = oAdminManager.GetEmployeeMappedDetails(siteMapModel, CookieManager.GetCookie(CookieManager.CookieName).logindetail.EmpID);

            return(Json(new { result }, JsonRequestBehavior.AllowGet));
        }