public async Task <ActionResult> List()
        {
            string staff_id   = CommonHelper.GetValue(Request["staff_id"]);
            int    month      = CommonHelper.GetValue <int>(Request["month"], 0);
            int    year       = CommonHelper.GetValue <int>(Request["year"], 0);
            int    pgnum      = CommonHelper.GetValue <int>(Request["pgnum"], 1);
            int    pgsize     = CommonHelper.GetValue <int>(Request["pgsize"], 0);
            string sortcolumn = CommonHelper.GetValue(Request["sortcolumn"], SalaryadjustmentHelper.DEFAULT_SORT_COLUMN);
            string sortdir    = CommonHelper.GetValue(Request["sortdir"], SalaryadjustmentHelper.DEFAULT_SORT_DIR);

            Sort sort = new Sort(sortcolumn, sortdir);

            Dictionary <string, object> filters = new Dictionary <string, object>
            {
                { "staff_id", staff_id },
                { "month", month },
                { "year", year }
            };

            ListModel <Salaryadjustment> l = null;

            if (string.IsNullOrEmpty(staff_id) && month == 0 && year == 0)
            {
                l = await SalaryadjustmentHelper.GetAll(pgnum, pgsize, sort);
            }

            else
            {
                l = await SalaryadjustmentHelper.GetFilterBy(filters, pgnum, pgsize, sort);
            }

            return(View("_list", l));
        }
        //
        // GET: /Admin/SalaryAdjustment/

        public async Task <ActionResult> Index()
        {
            ListModel <Salaryadjustment> l = null;

            l = await SalaryadjustmentHelper.GetAll();

            return(View(l));
        }