public virtual EmployeesEvaluationsBLL GetByEmployeeEvaluationID(int EmployeeEvaluationID) { try { EmployeesEvaluations EmployeeEvaluation = new EmployeesEvaluationsDAL().GetByEmployeeEvaluationID(EmployeeEvaluationID); return(new EmployeesEvaluationsBLL().MapEmployeeEvaluation(EmployeeEvaluation)); } catch { throw; } }
public virtual List <EmployeesEvaluationsBLL> GetEmployeeEvaluationsByEmployeeCodeNo(string EmployeeCodeNo) { try { List <EmployeesEvaluations> EmployeesEvaluationsList = new EmployeesEvaluationsDAL().GetEmployeeEvaluationsByEmployeeCode(EmployeeCodeNo); List <EmployeesEvaluationsBLL> EmployeesEvaluationsBLLList = new List <EmployeesEvaluationsBLL>(); foreach (var item in EmployeesEvaluationsList) { EmployeesEvaluationsBLLList.Add(new EmployeesEvaluationsBLL().MapEmployeeEvaluation(item)); } return(EmployeesEvaluationsBLLList); } catch { throw; } }