public List <Compensation> GetByEmployeeID(string employeeID) { if (!String.IsNullOrEmpty(employeeID)) { return(_compensationRepository.GetByEmployeeID(employeeID)); } return(null); }