public void GetEmployeeFromADepartmentPositiveTest()
        {
            var actualCount   = dataAccessComponent.GetEmployeeFromADepartment(1).Count;
            var expectedCount = 5;

            Assert.AreEqual(expectedCount, actualCount);
        }
 public List <Employee> FetchEmployeeByDepartment(int departmentId)
 {
     try
     {
         employeeDataAccessComponent = new EmployeeDataAccessComponent();
         return(employeeDataAccessComponent.GetEmployeeFromADepartment(departmentId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }