Example #1
0
 /// <summary>
 /// Method on remove employee from boss control.
 /// </summary>
 /// <param name="empl">Employee which is remove from boss control.</param>
 public void PurgeEmpl(Employee empl)
 {
     employees.Remove(empl);
 }
Example #2
0
 /// <summary>
 /// Method which return if employess is under boss control.
 /// </summary>
 /// <param name="empl"></param>
 /// <returns>Return true if employee is find. Else return false.  </returns>
 public bool HasEmployee(Employee empl)
 {
     return(employees.Contains(empl));
 }
Example #3
0
 public void InsertEmpl(Employee empl)
 {
     employees.Add(empl);
 }