public List <DataTable> SalaryPackageViewAllForActive()
        {
            List <DataTable> ListObj = new List <DataTable>();

            try
            {
                ListObj = SalaryPackage.SalaryPackageViewAllForActive();
            }
            catch (Exception ex)
            {
                MessageBox.Show("AL2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(ListObj);
        }
        public JsonResult SalaryPackageViewAllForActive()
        {
            bool   isSave      = true;
            string message     = "success";
            string jsonResults = "";

            try
            {
                SalaryPackageSP spSalaryPackage   = new SalaryPackageSP();
                DataTable       dtblSalaryPackage = new DataTable();
                dtblSalaryPackage = spSalaryPackage.SalaryPackageViewAllForActive();
                jsonResults       = Utils.ConvertDataTabletoString(dtblSalaryPackage);
            }
            catch (Exception ex)
            {
                message = ex.Message;
            }

            return(Json(new {
                isSuccess = isSave,
                messaage = message,
                data = jsonResults
            }));
        }