/// <summary>
 /// Displays employee by searched Id
 /// </summary>
 /// <param name="id"></param>
 public void DisplayEmployeeById(int id)
 {
     AllUsers.Clear();
     foreach (Employee e in AllEmployees.ToList())
     {
         if (e.EmployeeId == id)
         {
             AllUsers.Add(e);
         }
     }
 }
        /// <summary>
        /// We get the picked employee and sends it to be deleted from DB
        /// </summary>
        /// <param name="employee"></param>
        public void DeleteEmployee(Employee employee)
        {
            ApiHelper.Instance.DeleteEmployee(employee.EmployeeId);

            foreach (Employee e in AllEmployees.ToList())
            {
                if (e.EmployeeId == employee.EmployeeId)
                {
                    AllEmployees.Remove(e);
                    AllUsers.Remove(e);
                }
            }
        }