public static SalaryDTO GetAll() { SalaryDTO dto = new SalaryDTO(); dto.Employees = EmployeeDAO.GetEmployees(); dto.Departments = DepartmentDAO.GetDepartments(); dto.Positions = PositionDAO.GetPositions(); dto.Months = SalaryDAO.GetMonths(); dto.Salaries = SalaryDAO.GetSalaries(); return(dto); }
public static SalaryDTO GetAll() { SalaryDTO salaryDTO = new SalaryDTO(); salaryDTO.Employees = EmployeeDAO.GetEmployees(); salaryDTO.Departments = DepartmentDAO.GetDepartments(); salaryDTO.Positions = PositionDAO.GetPositions(); salaryDTO.Months = SalaryDAO.GetMonths(); salaryDTO.Salaries = SalaryDAO.GetSalaries(); return(salaryDTO); }