public List<Absents> GetAbsents(AbsentsFilter absentsFilter = null)
 {
     using (IDataProvider provider = base.CreateDataProvider())
     using (IAbsentsRepository repository = provider.CreateAbsentsRepository())
         return repository.GetAbsents(absentsFilter);
 }
Exemplo n.º 2
0
 public List<Absents> GetAbsents(AbsentsFilter absentsFilter = null)
 {
     using (IBusinessProvider provider = base.CreateBusinessProvider())
     using (IAbsentsBusinessProvider prov = provider.CreateAbsentsBusinessProvider())
         return prov.GetAbsents(absentsFilter);
 }