public List<AgendaPoint> GetAgendaPoints(AgendaPointFilter agendaPointFilter = null) { using (IDataProvider provider = base.CreateDataProvider()) using (IAgendaPointRepository repository = provider.CreateAgendaPointRepository()) return repository.GetAgendaPoints(agendaPointFilter); }
public List<AgendaPoint> GetAgendaPoints(AgendaPointFilter agendaPointFilter = null) { using (IBusinessProvider provider = base.CreateBusinessProvider()) using (IAgendaPointBusinessProvider prov = provider.CreateAgendaPointBusinessProvider()) return prov.GetAgendaPoints(agendaPointFilter); }