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)); }
public JsonResult GetEmployeeMappedDetails(SiteMapModel siteMapModel) { SiteMapResult result = oAdminManager.GetEmployeeMappedDetails(siteMapModel, CookieManager.GetCookie(CookieManager.CookieName).logindetail.EmpID); return(Json(new { result }, JsonRequestBehavior.AllowGet)); }