Beispiel #1
0
        public void TestGetEmps()
        {
            var emps = _empManager.GetEmpsBAL();

            Assert.IsAssignableFrom <IQueryable <EmployeeViewModel> >(emps);
            Assert.NotNull(emps);
        }
Beispiel #2
0
 public IQueryable <EmployeeViewModel> GetEmployees()
 {
     try
     {
         return(_empManager.GetEmpsBAL());
     }
     catch (Exception)
     {
         throw;
     }
 }