public async Task <List <IEmployee> > GetEmployees()
        {
            List <EmployeeDTO> employeesDTO = await _repository.GetEmployees();

            return(employeesDTO.Select(e => EmployeeFactory.LoadEmployee(e)).ToList());
        }
        public async Task <IEmployee> GetEmployee(int id)
        {
            EmployeeDTO employeeDTO = await _repository.GetEmployee(id);

            return(EmployeeFactory.LoadEmployee(employeeDTO));
        }