public void EventTesting()
        {
            Employee emp = new Employee();

            emp.OnSalaryChanged +=new SalaryChange( emp_OnSalaryChanged);

            emp.Salary = 1;
            Assert.AreEqual(newSalary, 1);
        }
 public void WatchEmploy(Employee a)
 {
     list.Add(a);
      a.OnSalaryChanged+=a_OnSalaryChanged;
 }
 void Remove(Employee e)
 {
     list.Remove(e);
 }
 public void TestFindById() {
     var empService = new EmpService();
     Employee emp = empService.FindById(1);
     Console.WriteLine(String.Format("{0}, {1}", emp.Emp_Id, emp.Name));
 }