Exemple #1
0
        public string GetPeiChartsData()
        {
            _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler();
            var data = _aDashboardMultiFilterHandler.GetPeiChartsData();

            return(JsonConvert.SerializeObject(data));
        }
Exemple #2
0
        ///////////// Filtered Data load /////////////
        public string DashboardAllFilterDll()
        {
            _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler();
            var data = _aDashboardMultiFilterHandler.GetDashboardAllFilterData();

            return(JsonConvert.SerializeObject(data));
        }
Exemple #3
0
        public string DashboardUnallocatedEmpList(string companyCode)
        {
            _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler();
            var data = _aDashboardMultiFilterHandler.GetHrUnallocatedEmpList(companyCode);

            return(JsonConvert.SerializeObject(data));
        }
Exemple #4
0
        public string DashboardAllocatedEmpListMultiFilter(CompanyObj companyObj)
        {
            _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler();
            var data = _aDashboardMultiFilterHandler.GetHrAllocatedEmpListMultiFilter(companyObj);

            return(JsonConvert.SerializeObject(data));
        }
Exemple #5
0
        public string DashboardSubSectionUdOn(CompanyObj obj)
        {
            _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler();
            var data = _aDashboardMultiFilterHandler.GetMpUdOnSubSections(obj.CompanyCode, obj.DivisionCode, obj.UnitCode, obj.EmployeeType);

            return(JsonConvert.SerializeObject(data));
        }
Exemple #6
0
        // GET: DashboardFilter/DashboardDepartment
        public string DashboardDepartment(DashboardFilter aCompanyObj)
        {
            _aDashboardMultiFilterHandler = new DashboardMultiFilterHandler();
            var data = _aDashboardMultiFilterHandler.GetMpDepartments(aCompanyObj);

            return(JsonConvert.SerializeObject(data));
        }
Exemple #7
0
        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));
            }
        }
Exemple #8
0
 // 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);
     }
 }
Exemple #9
0
 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"));
     }
 }