public async Task<List<EmployeeDto>> GetRestData()
        {
            List<EmployeeDto> listEmployeeDto = new List<EmployeeDto>();
            List<EmployeeEntity> listEmployeeEnt = await _dbEmployee.GeResttData();
            foreach (EmployeeEntity employeeItem in listEmployeeEnt)
            {
                EmployeeDto newEmployeeDto = new EmployeeDto();
                ObjectMapper.Map(employeeItem, newEmployeeDto);
                listEmployeeDto.Add(newEmployeeDto);
            }

            return listEmployeeDto;         
        }
        public List<EmployeeDto> GetAllEmployeesBy(string propertyName)
        {
            List<EmployeeDto> listEmployeeDto = new List<EmployeeDto>();
            List<EmployeeEntity> listEmployeeEnt = _dbEmployee.GetAllItems();
            foreach (EmployeeEntity employeeItem in listEmployeeEnt)
            {
                EmployeeDto newEmployeeDto = new EmployeeDto();
                ObjectMapper.Map(employeeItem, newEmployeeDto);
                listEmployeeDto.Add(newEmployeeDto);
            }

            listEmployeeDto = listEmployeeDto.OrderBy(x => x.GetType().GetProperty(propertyName).GetValue(x, null)).ToList();
            return (listEmployeeDto);
        }