public CreateEmployee(EmployeesContainer container)
 {
     InitializeComponent();
     _employeeContainer = container;
     List<Position> allPositions = new List<Position>();
     foreach (Position position in (Position[])Enum.GetValues(typeof(Position)))
     {
         allPositions.Add(position);
     }
     positionComboBox.ItemsSource = allPositions;
     positionComboBox.SelectedIndex = 1;
     List<ContractType> allContractTypes = new List<ContractType>();
     foreach (ContractType type in (ContractType[])Enum.GetValues(typeof(ContractType)))
     {
         allContractTypes.Add(type);
     }
     contractTypeComboBox.ItemsSource = allContractTypes;
     contractTypeComboBox.SelectedIndex = 1;
 }