public string GetPeiChartsData() { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetPeiChartsData(); return(JsonConvert.SerializeObject(data)); }
///////////// Filtered Data load ///////////// public string DashboardAllFilterDll() { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetDashboardAllFilterData(); return(JsonConvert.SerializeObject(data)); }
public string DashboardUnallocatedEmpList(string companyCode) { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetHrUnallocatedEmpList(companyCode); return(JsonConvert.SerializeObject(data)); }
public string DashboardAllocatedEmpListMultiFilter(CompanyObj companyObj) { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetHrAllocatedEmpListMultiFilter(companyObj); return(JsonConvert.SerializeObject(data)); }
public string DashboardSubSectionUdOn(CompanyObj obj) { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetMpUdOnSubSections(obj.CompanyCode, obj.DivisionCode, obj.UnitCode, obj.EmployeeType); return(JsonConvert.SerializeObject(data)); }
// GET: DashboardFilter/DashboardDepartment public string DashboardDepartment(DashboardFilter aCompanyObj) { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetMpDepartments(aCompanyObj); return(JsonConvert.SerializeObject(data)); }
public string DashboardDivision(DashboardFilter aInfo) { var userId = Session["UserId"].ToString(); if (true) { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetMpDivisions(userId, aInfo); return(JsonConvert.SerializeObject(data)); } }
// GET: DashboardFilter/DashboardCompany public string DashboardCompany(DashboardFilter aInfo) { try { var userId = Session["UserId"].ToString(); if (true) { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var data = _aDashboardMultiFilterHandler.GetMpCompanies(userId, aInfo); TempData["FilterData"] = data; return(JsonConvert.SerializeObject(data)); } } catch (Exception ex) { return(ex.Message); } }
public ActionResult MpUserDefineOnroll(string userCode) { try { _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler(); var email = _aDashboardMultiFilterHandler.GetDecriptionUserCode(userCode); if (userCode != null && email == null) { return(RedirectToAction("Register", "Account")); } Session["UserId"] = email; return(View()); } catch (Exception ex) { return(RedirectToAction("Login", "Account")); } }