public List <Department> GetList()
 {
     try
     {
         return(departmentDal.GetList());
     }
     catch
     {
         return(new List <Department>());
     }
 }
Ejemplo n.º 2
0
 public IEnumerable <Department> GetList()
 {
     return(dal.GetList());
 }