コード例 #1
0
 public List<Absents> GetAbsents(AbsentsFilter absentsFilter = null)
 {
     using (IDataProvider provider = base.CreateDataProvider())
     using (IAbsentsRepository repository = provider.CreateAbsentsRepository())
         return repository.GetAbsents(absentsFilter);
 }
コード例 #2
0
 public List<Absents> GetAbsents(AbsentsFilter absentsFilter = null)
 {
     using (IBusinessProvider provider = base.CreateBusinessProvider())
     using (IAbsentsBusinessProvider prov = provider.CreateAbsentsBusinessProvider())
         return prov.GetAbsents(absentsFilter);
 }