Example #1
0
        public static SqlDataReader GetSalaryAdjustmentByEmpId(int employeeId, SalaryAdjustmentGetType type)
        {
            var parameterList = new List <DataParameter>();

            parameterList.Add(new DataParameter("@employeeId", employeeId, ParameterDirection.Input, SqlDbType.Int));
            parameterList.Add(new DataParameter("@getType", type, ParameterDirection.Input, SqlDbType.Int));
            return(DAL.GetDataReader("GetSalaryAdjustmentByEmpId", parameterList));
        }
Example #2
0
 public static List <SalaryAdjustment> GetSalaryAdjustmentsByEmpId(int employeeId, SalaryAdjustmentGetType type)
 {
     return(SalaryAdjustment.RePackage(SalaryAdjustmentSQL.GetSalaryAdjustmentByEmpId(employeeId, type)));
 }